cpio(5) cpio(5)
NAME
cpio - cpio archive values
SYNOPSIS
#include <cpio.h>
DESCRIPTION
Values needed by the cmode field of the cpio archive format are
described by:
_____________________________________________________________________
| Name | Description | Value (octal)|
|_________|__________________________________________|_______________|
| CIRUSR | read by owner | 0000400 |
| CIWUSR | write by owner | 0000200 |
| CIXUSR | execute by owner | 0000100 |
| CIRGRP | read by group | 0000040 |
| CIWGRP | write by group | 0000020 |
| CIXGRP | execute by group | 0000010 |
| CIROTH | read by others | 0000004 |
| CIWOTH | write by others | 0000002 |
| CIXOTH | execute by others | 0000001 |
| CISUID | set user ID | 0004000 |
| CISGID | set group ID | 0002000 |
| CISVTX | on directories, restricted deletion flag| 0001000 |
| CISDIR | directory | 0040000 |
| CISFIFO| FIFO | 0010000 |
| CISREG | regular file | 0100000 |
| CISBLK | block special | 0060000 |
| CISCHR | character special | 0020000 |
| CISCTG | reserved | 0110000 |
| CISLNK | symbolic link | 0120000 |
| CISSOCK| socket | 0140000 |
|_________|__________________________________________|_______________|
The header defines the symbolic constant:
MAGIC "070707"
SEE ALSO
cpio(1).
Page 1 Reliant UNIX 5.44 Printed 11/98