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

System Functions (k - m) lstat(2)
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
S_IRWXU Owner class
S_ISGID Set group ID on execution
S_ISUID Set user ID on execution
S_ISVTX Sticky bit; used only for directories (not ORed for files in /G, the
Guardian file system)
Values for Guardian objects are described in Use on Guardian Objects, later in
this reference page.
st_nlink Number of links.
Values for OSS objects are listed in the following table. Values for Guardian
objects are described in Use on Guardian Objects, later in this reference page.
For Contains
Regular file Number of links to the file
Directory Number of links to the directory
FIFO Number of links to the file
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_acl If set to 1, indicates that the file has optional access control list (ACL) entries.
For compatibility with HP-UX, the member name st_aclv is provided as alias for
st_acl. For more information about ACLs, see the acl(5) reference page.
st_fileprivs File privileges. For information about file privileges see the setfilepriv(2) refer-
ence page.
st_uid User ID.
Values for OSS objects are listed in the following table. 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
FIFO User ID of the file owner
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 in the following table. Values for Guardian
objects are described in Use on Guardian Objects, later in this reference page.
527186-023 Hewlett-Packard Company 431