|
|
1.1 ! root 1: struct stat ! 2: { ! 3: dev_t st_dev; ! 4: ino_t st_ino; ! 5: unsigned short st_mode; ! 6: short st_nlink; ! 7: short st_uid; ! 8: short st_gid; ! 9: dev_t st_rdev; ! 10: off_t st_size; ! 11: time_t st_atime; ! 12: time_t st_mtime; ! 13: time_t st_ctime; ! 14: }; ! 15: ! 16: #define S_IFMT 0170000 /* type of file */ ! 17: #define S_IFDIR 0040000 /* directory */ ! 18: #define S_IFCHR 0020000 /* character special */ ! 19: #define S_IFBLK 0060000 /* block special */ ! 20: #define S_IFREG 0100000 /* regular */ ! 21: #define S_IFLNK 0120000 /* symbolic link */ ! 22: #define S_ISUID 0004000 /* set user id on execution */ ! 23: #define S_ISGID 0002000 /* set group id on execution */ ! 24: #define S_IREAD 0000400 /* read permission, owner */ ! 25: #define S_IWRITE 0000200 /* write permission, owner */ ! 26: #define S_IEXEC 0000100 /* execute/search permission, owner */ ! 27: #define S_ICCTYP 0007000 /* type of concurrent access */ ! 28: #define S_ISYNC 0001000 /* 1 writer and n readers (synchronized access) */ ! 29: #define S_IEXCL 0003000 /* 1 writer or n readers (exclusive access) */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.