Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
System Functions (f - i) fstat(2)
[EISGUARDIAN]
The value used for the filedes parameter is appropriate only in the Guardian
environment.
[ENETDOWN]
The filedes parameter specifies a file on a remote HP NonStop node, but com-
munication with the remote node has been lost.
[ENOROOT] The program attempted an operation while the root fileset was unavailable.
[ENXIO] An invalid device or address was specified during an input or output operation
on a special file. One of these events occurred:
• A device was specified that does not exist, or a request was made beyond
the limits of the device.
• The fileset containing the requestor’s current working directory or root
directory is not mounted. This error can occur after failure and restart of
an OSS name server process until the fileset has been repaired and
remounted.
• The file size (in bytes) or the file inode number (serial number) cannot be
represented correctly in the structure pointed to by the buff er 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), fstat64(2), link(2), mknod(2), open(2), open64(2),
pipe(2), setfilepriv(2), spt_fstatz(2), utime(2).
Miscellaneous Topics: acl(5).
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, the st_size field of the stat structure is set to 0
(zero). For directories, st_size is set to 4096.
527186-023 Hewlett-Packard Company 3−33