Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: July 2017
 
 

cpio.h(3HEAD)

Name

cpio.h, cpio - cpio archive values

Synopsis

#include <cpio.h> 

Description

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" 

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
Standard

See Also

pax(1), attributes(5), standards(5)