Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
stat(2) OSS System Calls Reference Manual
STANDARDS CONFORMANCE
The POSIX standards leave some features to the implementing vendor to define. These features
are affected in the HP implementation:
• For files other than regular disk files or symbolic links, the st_size field of the stat struc-
ture 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 field of the stat structure.
HP extensions to the XPG4 Version 2 specification are:
• The errno values [EFAULT], [EFSBAD], [ENOROOT], [ENOTSUP], [ENXIO], and
[EOSSNOTRUNNING] can be returned by the stat() function.
7−504 Hewlett-Packard Company 527186-023