Last change
on this file since 577 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
1.0 KB
|
Rev | Line | |
---|
[444] | 1 | /* POSIX.1 symbolic constants for c_mode field of cpio archive format */ |
---|
| 2 | |
---|
| 3 | #ifndef _CPIO_H |
---|
| 4 | #define _CPIO_H |
---|
| 5 | |
---|
| 6 | #define C_IRUSR 0000400 /* Read by owner */ |
---|
| 7 | #define C_IWUSR 0000200 /* Write by owner */ |
---|
| 8 | #define C_IXUSR 0000100 /* Execute by owner */ |
---|
| 9 | #define C_IRGRP 0000040 /* Read by group */ |
---|
| 10 | #define C_IWGRP 0000020 /* Write by group */ |
---|
| 11 | #define C_IXGRP 0000010 /* Execute by group */ |
---|
| 12 | #define C_IROTH 0000004 /* Read by others */ |
---|
| 13 | #define C_IWOTH 0000002 /* Write by others */ |
---|
| 14 | #define C_IXOTH 0000001 /* Execute by others */ |
---|
| 15 | #define C_ISUID 0004000 /* Set user ID */ |
---|
| 16 | #define C_ISGID 0002000 /* Set group ID */ |
---|
| 17 | #define C_ISVTX 0001000 /* On directories, restricted deletion flag */ |
---|
| 18 | |
---|
| 19 | #define C_ISDIR 0040000 /* Directory */ |
---|
| 20 | #define C_ISFIFO 0010000 /* FIFO */ |
---|
| 21 | #define C_ISREG 0100000 /* Regular file */ |
---|
| 22 | #define C_ISBLK 0060000 /* Block special */ |
---|
| 23 | #define C_ISCHR 0020000 /* Character special */ |
---|
| 24 | #define C_ISCTG 0110000 /* Reserved */ |
---|
| 25 | #define C_ISLNK 0120000 /* Symbolic link */ |
---|
| 26 | #define C_ISSOCK 0140000 /* Socket */ |
---|
| 27 | |
---|
| 28 | #define MAGIC "070707" |
---|
| 29 | |
---|
| 30 | #endif /* _CPIO_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.