-
Notifications
You must be signed in to change notification settings - Fork 2
sys stat.h status
chasonr edited this page Dec 8, 2023
·
2 revisions
The stat structure lacks the members st_atim, st_mtim, st_ctim and st_blocks. It does include the members st_atime, st_mtime and st_ctime; these are supposed to be macros for st_atim.tv_sec, st_mtim.tv_sec and st_ctim.tv_sec.
sys/stat.h does not define the timespec structure.
sys/stat.h does not define the S_IFSOCK and S_ISVTX macros. It does define the other mode_t macros, which are also needed in fcntl.h.
sys/stat.h does not define the S_ISSOCK, S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM and S_TYPEISTMO macros.
sys/stat.h does not define the fchmodat, fstatat, futimens, mkdirat, mkfifoat, mknodat and utimensat functions.