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

fstat64(2) OSS System Calls Reference Manual
The fstat64() function updates any time-related elds associated with the le before writing into
the stat64 structure, unless it is a read-only leset. Time-related elds are not updated for read-
only OSS lesets.
The elds in the stat64 structure have these meanings and content:
st_dev OSS device identier for a leset.
Values for local OSS objects are listed next. Values for local Guardian objects
are described in Use on Guardian Objects, and values for remote Guardian or
OSS objects are described in Use on Remote Objects, later in this reference
page.
For Contains
Regular le ID of device containing directory entry
Directory ID of device containing directory
Pipe or FIFO ID of special leset for pipes
AF_INET or AF_INET6 socket ID of special leset for sockets
AF_UNIX socket ID of device containing the leset in which
the socket le was created
/dev/null ID of device containing directory entry
/dev/tty ID of device containing directory entry
st_ino File serial number (inode number). The le serial number and OSS device
identier uniquely identify a regular OSS le within an OSS leset.
Values for OSS objects are listed next. Values for Guardian objects are
described in Use on Guardian Objects, later in this reference page.
For Contains
Regular le File serial number (unique)
Directory File serial number (unique)
Pipe or FIFO File serial number (unique)
AF_INET or AF_INET6 socket File serial number (not unique within the
HP NonStop node)
AF_UNIX socket File serial number of the socket le
(unique)
/dev/null File serial number (unique)
/dev/tty File serial number (unique)
The st_ino value for all node entries in /E (including the entry for the logical
link from the local node name to the root leset on the local node) is the value
for the root leset on the corresponding node. If normal conventions are fol-
lowed, this value is always 0 (zero), so entries in /E appear to be nonunique.
Values for objects on remote nodes are unique only among the values for objects
within the same leset on that node.
st_mode File mode. These bits are ORed into the st_mode eld:
S_IFMT File type. This eld can contain one of these values:
S_IFCHR Character special le.
332 Hewlett-Packard Company 527186-007