stat.5 (2010 09)
s
stat(5) stat(5)
CHANGE HISTORY
First released in Issue 1.
Derived from Issue 1 of the SVID.
Issue 4
The following changes are incorporated for alignment with the ISO POSIX-1 standard:
• 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 exten-
sion.
• 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.
HP-UX 11i Version 3: September 2010 − 3 − Hewlett-Packard Company 3