Previous: Operating System Definitions, Up: The Operating System Library [Index]
The definitions map the struct stat
field names.
ST_ATIME
time of last access as ‘date’
ST_CTIME
time of last status change as ‘date’
ST_GID
group ID of owner
ST_MODE
protection
ST_MTIME
time of last modification as ‘date’
ST_NLINK
number of hard links
ST_UID
user ID of owner
ST_SIZE
total size, in bytes
SU_ATIME
time of last access as ‘integer’
SU_CTIME
time of last status change as ‘integer’
SU_MTIME
time of last modification as ‘integer’
The file type may be determined from protection.
S_IFMT
file type mask in protection
S_IFDIR
directory
S_IFCHR
character special
S_IFBLK
block special
S_IFREG
regular
S_IFLNK
symbolic link
S_IFIFO
fifo
S_IFSOCK
socket