Open System Services System Calls Reference Manual (G06.25+, H06.03+)

System Functions (s and S) stat(2)
S_IFDIR Directory.
S_IFIFO FIFO.
S_IFREG Regular le.
S_IFSOCK Socket.
For an AF_UNIX socket, the
user permissions from the inode
for the socket are returned for
the permission bits. The access
ags are also returned from the
inode.
S_IRWXG Group class
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 les in /G, the Guardian le system)
S_NONSTOP Regular le in the OSS le system protected by
disk process checkpointing. (Files in /G cannot
have this bit set.)
When set, indicates that return from a write
operation does not occur until both the primary
and backup disk processes have the data
(thereby protecting the data against a single
point of failure).
OSS le-system data caching is disabled for
write operations on les for which this bit is set.
Performance is slower than when caching is
used, but data integrity protection increases.
Performance is faster than when the O_SYNC
bit in the open() function oag parameter is
used, but data integrity protection is less than
that provided by O_SYNC use.
S_TRUST Indicates that the le does not contain code for |
an uncooperative process or code to examine or |
modify I/O buffers. This ag suppresses operat- |
ing system protection of the buffers when the |
memory segment containing the buffers is not |
shared. This ag applies only to loadles for a |
process and can be set only by a user with |
appropriate privileges (the super ID).
527186-003 Hewlett-Packard Company 7161