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

fstat(2) OSS System Calls Reference Manual
/dev/null ID of device containing directory entry
/dev/tty ID of device containing directory entry
st_ino File serial number (inode number). The file serial number and OSS device
identifier uniquely identify a regular OSS file within an OSS fileset.
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 file 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 file
(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 fileset on the local node) is the value
for the root fileset 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 fileset on that node.
st_mode File mode. These bits are ORed into the st_mode field:
S_IFMT File type. This field can contain one of these values:
S_IFCHR Character special file.
S_IFDIR Directory.
S_IFIFO Pipe or FIFO.
S_IFREG Regular file.
S_IFSOCK Socket.
For an AF_INET or AF_INET6 socket, the
user default permissions are returned for the per-
mission bits. The access flags are set to read
and write.
For an AF_UNIX socket, the user permissions
from the inode for the socket are returned for the
permission bits. The access flags are also
returned from the inode.
S_IRWXG Permissions for the owning group, or if the st_acl flag is set, per-
missions for the the class ACL entry.
S_IRWXO Other class
326 Hewlett-Packard Company 527186-023