HP-UX Reference (11i v3 07/02) - 5 Miscellaneous Topics (vol 9)
s
stat(5) stat(5)
• The function declarations in this header are expanded to full ISO C prototypes.
• The DESCRIPTION section is expanded to indicate (a) how files are uniquely identified within the
system, (b) that times are given in units of seconds since the Epoch, (c) rules governing the definition
and use of the file mode bits, and (d) usage of the file type test macros.
Other changes are incorporated as follows:
• Reference to the header <sys/types.h>
is added for the definitions of
dev_t, ino_t, mode_t,
nlink_t, uid_t, gid_t, off_t
, and time_t. This has been marked as an extension.
• References to the
S_IREAD, S_IWRITE,
S_IEXEC file and S_ISVTX modes are removed.
• The descriptions of the members of the
stat structure in the DESCRIPTION section are corrected.
Issue 4, Version 2
The following changes are incorporated for X/OPEN UNIX conformance:
• The
st_blksize and st_blocks members are added to the
stat structure.
• The
S_IFLINK value of S_IFMT is defined.
• The
S_ISVTX file mode bit and the S_ISLNK file type test macro is defined.
• The fchmod(), lstat(), and mknod() functions are added to the list of functions declared in
this header.
488 Hewlett-Packard Company − 3 − HP-UX 11i Version 3: February 2007