1cpio.h(3HEAD) Headers cpio.h(3HEAD)
2
3
4
6 cpio.h, cpio - cpio archive values
7
9 #include <cpio.h>
10
11
13 Values needed by the c_mode field of the cpio archive format are
14 described as follows:
15
16
17
18
19 Name Description
20 ───────────────────────────────────────────────────────────
21 C_IRUSR Read by owner
22 C_IWUSR Write by owner
23 C_IXUSR Execute by owner
24 C_IRGRP Read by group
25 C_IWGRP Write by group
26 C_IXGRP Execute by group
27 C_IROTH Read by others
28 C_IWOTH Write by others
29 C_IXOTH Execute by others
30 C_ISUID Set user ID
31 C_ISGID Set group ID
32 C_ISVTX On directories, restricted deletion flag
33 C_ISDIR Directory
34 C_ISFIFO FIFO
35 C_ISREG Regular file
36 C_ISBLK Block special
37 C_ISCHR Character special
38 C_ISCTG Reserved
39 C_ISLNK Symbolic link
40 C_ISSOCK Socket
41
42
43
44 The header defines the symbolic constant:
45
46 MAGIC "070707"
47
48
50 See attributes(5) for descriptions of the following attributes:
51
52
53
54
55 ┌─────────────────────────────┬─────────────────────────────┐
56 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
57 ├─────────────────────────────┼─────────────────────────────┤
58 │Interface Stability │Standard │
59 └─────────────────────────────┴─────────────────────────────┘
60
62 pax(1), attributes(5), standards(5)
63
64
65
66SunOS 5.11 10 Sep 2004 cpio.h(3HEAD)