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

System Functions (s and S) stat(2)
[EOSSNOTRUNNING]
The program attempted an operation on an object in the OSS
environment while a required system process was not running.
[EOVERFLOW]
The le size (in bytes) or the le inode number (serial number) |
cannot be represented correctly in the structure pointed to by the |
buffer parameter.
For all other error conditions, errno is set to the appropriate Guardian le-
system error number. For more information about a specic Guardian le-
system error, see the Guardian Procedure Errors and Messages Manual.
RELATED INFORMATION
Commands: getacl(1), setacl(1).|
Functions: acl(2), chmod(2), chown(2), link(2), lstat(2), lstat64(2), mknod(2), open(2),|
open64(2), pipe(2), utime(2).
Miscellaneous Topics: acl(5).|
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.
HP extensions to the XPG4 Version 2 specication are:
The errno values [EFAULT], [EFSBAD], [ENOROOT], [ENOTSUP],
[ENXIO], and [EOSSNOTRUNNING] can be returned by the stat()
function.
527186-007 Hewlett-Packard Company 7391