Cygwin: mmap: use 64K pages for bookkeeping, second attempt
[newlib-cygwin.git] / newlib / libc / include / cpio.h
blob99860b29c884a3dcf2a92657c22fbf8fe1241f27
1 /* POSIX.1 symbolic constants for c_mode field of cpio archive format */
3 #ifndef _CPIO_H
4 #define _CPIO_H
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 */
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 */
28 #define MAGIC "070707"
30 #endif /* _CPIO_H */