Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

System Functions (s and S) spt_fstatz(2)
The file size (in bytes) or the file inode number (serial number) cannot be
represented correctly in the structure pointed to by the buffer parameter.
[EWRONGID] One of these conditions occurred:
The process attempted an operation on an input/output process (such as a
terminal server process) that has failed or is in the down state.
The processor for the disk process of the specified file failed during an
input or output operation, and takeover by the backup process occurred.
The open file descriptor has migrated to a new processor, but the new
processor lacks a resource or system process needed for using the file
descriptor.
The file descriptor specified by the filedes parameter can only be closed.
For all other error conditions, errno is set to the appropriate Guardian file-system error number.
See the Guardian Procedure Errors and Messages Manual for more information about a specific
Guardian file-system error.
RELATED INFORMATION
Commands: getacl(1), setacl(1).
Functions: acl(2), chmod(2), chown(2), spt_fstatz64(2), link(2), mknod(2), open(2),
open64(2), pipe(2), utime(2).
Miscellaneous Topics: acl(5).
STANDARDS CONFORMANCE
This function is an extension to the UNIX 98 specification. Interfaces documented on this refer-
ence page conform to IEEE Std 1003.1c-1995, POSIX System Application Program Interface,
with this exception:
The use of the header file spthread.h is an HP exception to the POSIX standard.
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, the st_size field 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 field of the stat structure.
HP extensions to the XPG4 Version 2 specification are:
The errno values [EFAULT], [EFSBAD], [EIO], [EISGUARDIAN], [ENETDOWN],
[ENOROOT], [ENXIO], and [EWRONGID] can be returned by the spt_fstatz() func-
tion.
527186-023 Hewlett-Packard Company 7245