Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 1 | #ifndef _CPIO_H |
2 | #define _CPIO_H | ||||
3 | |||||
4 | #define MAGIC "070707" | ||||
5 | |||||
6 | #define C_IRUSR 000400 | ||||
7 | #define C_IWUSR 000200 | ||||
8 | #define C_IXUSR 000100 | ||||
9 | #define C_IRGRP 000040 | ||||
10 | #define C_IWGRP 000020 | ||||
11 | #define C_IXGRP 000010 | ||||
12 | #define C_IROTH 000004 | ||||
13 | #define C_IWOTH 000002 | ||||
14 | #define C_IXOTH 000001 | ||||
15 | |||||
16 | #define C_ISUID 004000 | ||||
17 | #define C_ISGID 002000 | ||||
18 | #define C_ISVTX 001000 | ||||
19 | |||||
20 | #define C_ISBLK 060000 | ||||
21 | #define C_ISCHR 020000 | ||||
22 | #define C_ISDIR 040000 | ||||
23 | #define C_ISFIFO 010000 | ||||
24 | #define C_ISSOCK 0140000 | ||||
25 | #define C_ISLNK 0120000 | ||||
26 | #define C_ISCTG 0110000 | ||||
27 | #define C_ISREG 0100000 | ||||
28 | |||||
29 | #endif |