Merge commit 'b31320a79e2054c6739b5229259dbf98f3afc547' into merges
[unleashed.git] / share / man / man3head / cpio.h.3head
blobf37f5692b856f72df48cbe35943f43bde3780718
1 '\" te
2 .\"  Copyright (c) 2001, The IEEE and The Open Group. All Rights Reserved. Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
3 .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
4 .\" http://www.opengroup.org/bookstore/.
5 .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
6 .\"  This notice shall appear on any product containing this material.
7 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
8 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
9 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
10 .TH CPIO.H 3HEAD "Sep 10, 2004"
11 .SH NAME
12 cpio.h, cpio \- cpio archive values
13 .SH SYNOPSIS
14 .LP
15 .nf
16 #include <\fBcpio.h\fR>
17 .fi
19 .SH DESCRIPTION
20 .sp
21 .LP
22 Values needed by the \fBc_mode\fR field of the \fBcpio\fR archive format are
23 described as follows:
24 .sp
26 .sp
27 .TS
28 c c
29 l l .
30 Name    Description
32 C_IRUSR Read by owner
33 C_IWUSR Write by owner
34 C_IXUSR Execute by owner
35 C_IRGRP Read by group
36 C_IWGRP Write by group
37 C_IXGRP Execute by group
38 C_IROTH Read by others
39 C_IWOTH Write by others
40 C_IXOTH Execute by others
41 C_ISUID Set user ID
42 C_ISGID Set group ID
43 C_ISVTX On directories, restricted deletion flag
44 C_ISDIR Directory
45 C_ISFIFO        FIFO
46 C_ISREG Regular file
47 C_ISBLK Block special
48 C_ISCHR Character special
49 C_ISCTG Reserved
50 C_ISLNK Symbolic link
51 C_ISSOCK        Socket
52 .TE
54 .sp
55 .LP
56 The header defines the symbolic constant:
57 .sp
58 .in +2
59 .nf
60 MAGIC         "070707"
61 .fi
62 .in -2
64 .SH ATTRIBUTES
65 .sp
66 .LP
67 See \fBattributes\fR(5) for descriptions of the following attributes:
68 .sp
70 .sp
71 .TS
72 box;
73 c | c
74 l | l .
75 ATTRIBUTE TYPE  ATTRIBUTE VALUE
77 Interface Stability     Standard
78 .TE
80 .SH SEE ALSO
81 .sp
82 .LP
83 \fBpax\fR(1), \fBattributes\fR(5), \fBstandards\fR(5)