4 #define F(t,n) {t *y = &x.n;}
5 #define C(n) switch(n){case n:;}
30 F(struct timespec, st_atim)
31 F(struct timespec, st_mtim)
32 F(struct timespec, st_ctim)
33 F(blksize_t, st_blksize)
34 F(blkcnt_t, st_blocks)
74 {int i = S_TYPEISMQ(&x);}
75 {int i = S_TYPEISSEM(&x);}
76 {int i = S_TYPEISSHM(&x);}
77 #ifdef POSIX_TYPED_MEMORY_OBJECTS
78 {int i = S_TYPEISTMO(&x);}
83 {int(*p)(const char*,mode_t) = chmod;}
84 {int(*p)(int,mode_t) = fchmod;}
85 {int(*p)(int,const char*,mode_t,int) = fchmodat;}
86 {int(*p)(int,struct stat*) = fstat;}
87 {int(*p)(int,const char*restrict,struct stat*restrict,int) = fstatat;}
88 {int(*p)(int,const struct timespec[]) = futimens;}
89 {int(*p)(const char*restrict,struct stat*restrict) = lstat;}
90 {int(*p)(const char*,mode_t) = mkdir;}
91 {int(*p)(int,const char*,mode_t) = mkdirat;}
92 {int(*p)(const char*,mode_t) = mkfifo;}
93 {int(*p)(int,const char*,mode_t) = mkfifoat;}
95 {int(*p)(const char*,mode_t,dev_t) = mknod;}
96 {int(*p)(int,const char*,mode_t,dev_t) = mknodat;}
98 {int(*p)(const char*restrict,struct stat*restrict) = stat;}
99 {mode_t(*p)(mode_t) = umask;}
100 {int(*p)(int,const char*,const struct timespec[],int) = utimensat;}