Content-type: text/html
#include <cpio.h>
Values needed by the c_mode field of the cpio archive format are described as follows:
Name | Description |
C_IRUSR | Read by owner |
C_IWUSR | Write by owner |
C_IXUSR | Execute by owner |
C_IRGRP | Read by group |
C_IWGRP | Write by group |
C_IXGRP | Execute by group |
C_IROTH | Read by others |
C_IWOTH | Write by others |
C_IXOTH | Execute by others |
C_ISUID | Set user ID |
C_ISGID | Set group ID |
C_ISVTX |
On directories, restricted deletion flag
|
C_ISDIR | Directory |
C_ISFIFO | FIFO |
C_ISREG | Regular file |
C_ISBLK | Block special |
C_ISCHR | Character special |
C_ISCTG | Reserved |
C_ISLNK | Symbolic link |
C_ISSOCK | Socket |
The header defines the symbolic constant:
MAGIC "070707"
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Standard |
pax(1), attributes(5), standards(5)