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