5 element {struct stat} dev_t st_dev
6 element {struct stat} ino_t st_ino
7 element {struct stat} mode_t st_mode
8 element {struct stat} nlink_t st_nlink
9 element {struct stat} uid_t st_uid
10 element {struct stat} gid_t st_gid
11 #if !defined POSIX && !defined POSIX2008
12 element {struct stat} dev_t st_rdev
14 element {struct stat} off_t st_size
15 element {struct stat} time_t st_atime
16 element {struct stat} time_t st_mtime
17 element {struct stat} time_t st_ctime
18 #if !defined POSIX && !defined POSIX2008
19 element {struct stat} blksize_t st_blksize
20 element {struct stat} blkcnt_t st_blocks
23 #if !defined POSIX && !defined POSIX2008
35 # if defined XOPEN2K8 || defined POSIX2008
36 type {struct timespec}
37 element {struct timespec} time_t tv_sec
38 element {struct timespec} long tv_nsec
41 #if !defined POSIX && !defined POSIX2008
65 #if !defined POSIX && !defined POSIX2008
69 #if !defined POSIX && !defined POSIX2008
80 // How to represent optional tests?
81 optional-macro S_TYPEISMQ
82 optional-macro S_TYPEISSEM
83 optional-macro S_TYPEISSHM
84 optional-macro S_TYPEISTMO
86 # if defined XOPEN2K8 || defined POSIX2008
91 function int chmod (const char*, mode_t)
92 function int fchmod (int, mode_t)
93 # if defined XOPEN2K8 || defined POSIX2008
94 function int fchmodat (int, const char*, mode_t, int)
96 function int fstat (int, struct stat*)
97 # if defined XOPEN2K8 || defined POSIX2008
98 function int fstatat (int, const char*, struct stat*, int)
99 function int futimens (int, const struct timespec[2])
101 function int lstat (const char*, struct stat*)
102 function int mkdir (const char*, mode_t)
103 # if defined XOPEN2K8 || defined POSIX2008
104 function int mkdirat (int, const char*, mode_t)
106 function int mkfifo (const char*, mode_t)
107 # if defined XOPEN2K8 || defined POSIX2008
108 function int mkfifoat (int, const char*, mode_t)
110 # if !defined POSIX && !defined POSIX2008
111 function int mknod (const char*, mode_t, dev_t)
112 function int mknodat (int, const char*, mode_t, dev_t)
114 function int stat (const char*, struct stat*)
115 function mode_t umask (mode_t)
116 # if defined XOPEN2K8 || defined POSIX2008
117 function int utimensat (int, const char*, const struct timespec[2], int)