stat.h 991 B

1234567891011121314151617181920212223242526272829
  1. #ifndef _GNU_SOURCE
  2. # define _GNU_SOURCE
  3. #endif
  4. #include <sys/stat.h>
  5. static const mode_t kS_IFMT = S_IFMT;
  6. static const mode_t kS_IFSOCK = S_IFSOCK;
  7. static const mode_t kS_IFLNK = S_IFLNK;
  8. static const mode_t kS_IFREG = S_IFREG;
  9. static const mode_t kS_IFBLK = S_IFBLK;
  10. static const mode_t kS_IFDIR = S_IFDIR;
  11. static const mode_t kS_IFCHR = S_IFCHR;
  12. static const mode_t kS_IFIFO = S_IFIFO;
  13. static const mode_t kS_ISUID = S_ISUID;
  14. static const mode_t kS_ISGID = S_ISGID;
  15. static const mode_t kS_ISVTX = S_ISVTX;
  16. static const mode_t kS_IRWXU = S_IRWXU;
  17. static const mode_t kS_IRUSR = S_IRUSR;
  18. static const mode_t kS_IWUSR = S_IWUSR;
  19. static const mode_t kS_IXUSR = S_IXUSR;
  20. static const mode_t kS_IRWXG = S_IRWXG;
  21. static const mode_t kS_IRGRP = S_IRGRP;
  22. static const mode_t kS_IWGRP = S_IWGRP;
  23. static const mode_t kS_IXGRP = S_IXGRP;
  24. static const mode_t kS_IRWXO = S_IRWXO;
  25. static const mode_t kS_IROTH = S_IROTH;
  26. static const mode_t kS_IWOTH = S_IWOTH;
  27. static const mode_t kS_IXOTH = S_IXOTH;