Open System Services System Calls Reference Manual (G06.28+)

stat(2) OSS System Calls Reference Manual
RELATED INFORMATION
Functions: chmod(2), chown(2), link(2), lstat(2), mknod(2), open(2), pipe(2), utime(2).
STANDARDS CONFORMANCE
The POSIX standards leave some features to the implementing vendor to dene. These features
are affected in the HP implementation:
For les other than regular disk les or symbolic links, the st_size eld
of the stat structure is set to 0 (zero). For directories, st_size is set to
4096.
The S_IRWXU, S_IRWXG, S_IRWXO, S_IFMT, S_ISVTX,
S_ISGID, and S_ISUID bits are ORed into the st_mode eld of the stat
structure.
The stat() function does not return the errno value [EOVERFLOW].
HP extensions to the XPG4 Version 2 specication are:
The errno values [EFAULT], [EFSBAD], [ENOROOT], [ENXIO], and
[EOSSNOTRUNNING] can be returned by the stat() function.
7378 Hewlett-Packard Company 527186-005