Open System Services System Calls Reference Manual (G06.25+, H06.03+)
System Functions (f - i) fstat(2)
For Contains
Regular file Number of links to the file
Directory Number of links to the directory
FIFO Number of links to the file
Pipe -1
AF_INET or AF_INET6 socket 0 (zero)
AF_UNIX socket Number of links to the socket file
/dev/null Number of links to the file
/dev/tty Number of links to the file
st_uid User ID.
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 User ID of the file owner
Directory User ID of the file owner
Pipe or FIFO User ID of the file owner
AF_INET or AF_INET6 socket User ID of the calling process
AF_UNIX socket User ID of the creator of the socket file
/dev/null User ID of the super ID
/dev/tty User ID of the super ID
st_gid Group ID.
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 Group ID of the file group
Directory Group ID of the file group
Pipe or FIFO Group ID of the file group
AF_INET or AF_INET6 socket Group ID of the calling process
AF_UNIX socket Group ID of the creator of the socket file
/dev/null Group ID of the super ID
/dev/tty Group ID of the super ID
st_rdev Remote device ID.
Values for OSS objects are listed next. Values for Guardian objects are
described in Use on Guardian Objects, later in this reference page.
527186-003 Hewlett-Packard Company 3−17