1 #if !defined ISO && !defined ISO99 && !defined ISO11
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
79 // How to represent optional tests?
80 optional-macro S_TYPEISMQ
81 optional-macro S_TYPEISSEM
82 optional-macro S_TYPEISSHM
83 optional-macro S_TYPEISTMO
85 # if defined XOPEN2K8 || defined POSIX2008
90 function int chmod (const char*, mode_t)
91 function int fchmod (int, mode_t)
92 # if defined XOPEN2K8 || defined POSIX2008
93 function int fchmodat (int, const char*, mode_t, int)
95 function int fstat (int, struct stat*)
96 # if defined XOPEN2K8 || defined POSIX2008
97 function int fstatat (int, const char*, struct stat*, int)
98 function int futimens (int, const struct timespec[2])
100 function int lstat (const char*, struct stat*)
101 function int mkdir (const char*, mode_t)
102 # if defined XOPEN2K8 || defined POSIX2008
103 function int mkdirat (int, const char*, mode_t)
105 function int mkfifo (const char*, mode_t)
106 # if defined XOPEN2K8 || defined POSIX2008
107 function int mkfifoat (int, const char*, mode_t)
109 # if !defined POSIX && !defined POSIX2008
110 function int mknod (const char*, mode_t, dev_t)
111 function int mknodat (int, const char*, mode_t, dev_t)
113 function int stat (const char*, struct stat*)
114 function mode_t umask (mode_t)
115 # if defined XOPEN2K8 || defined POSIX2008
116 function int utimensat (int, const char*, const struct timespec[2], int)