cpio.h(0P)
πΈ PROLOG πΈ
okay bestie, before we even get into it, real talk: this page is part of the POSIX Programmer's Manual. The Linux version of this interface might be different (so like, go check the matching Linux manual page for what Linux actually does), or honestly it might just not be implemented on Linux at all. π
π NAME π
cpio.h β the cpio archive values, no cap π
β¨ SYNOPSIS β¨
#include <cpio.h>
π¦ DESCRIPTION π¦
so the <cpio.h> header is gonna define all the symbolic constants you need for the c_mode field of the cpio archive format. Their names and values are giving:
C_IRUSRβ Read by owner. Value:0000400πC_IWUSRβ Write by owner. Value:0000200C_IXUSRβ Execute by owner. Value:0000100C_IRGRPβ Read by group. Value:0000040C_IWGRPβ Write by group. Value:0000020C_IXGRPβ Execute by group. Value:0000010C_IROTHβ Read by others. Value:0000004C_IWOTHβ Write by others. Value:0000002C_IXOTHβ Execute by others. Value:0000001C_ISUIDβ Set user ID. Value:0004000π₯C_ISGIDβ Set group ID. Value:0002000C_ISVTXβ On directories, restricted deletion flag. Value:0001000C_ISDIRβ Directory. Value:0040000C_ISFIFOβ FIFO. Value:0010000C_ISREGβ Regular file. Value:0100000C_ISBLKβ Block special. Value:0060000C_ISCHRβ Character special. Value:0020000C_ISCTGβ Reserved. Value:0110000C_ISLNKβ Symbolic link. Value:0120000C_ISSOCKβ Socket. Value:0140000π
and the <cpio.h> header also defines this next one as a string, bestie:
MAGIC "070707"
heads up: the following sections are informative. that's literally what it says. π«Ά
πΈ APPLICATION USAGE πΈ
None. that's it. that's the whole section. π
π RATIONALE π
None. also nothing. iconic of them honestly. β¨
π FUTURE DIRECTIONS π
None. no notes. no plans. periodt.
π§ SEE ALSO π§
The Shell and Utilities volume of POSIX.1β2017, pax
π COPYRIGHT π
okay this part is the legal bit so I'm keeping it exactly as-is, no slang, no editing, we respect the paperwork bestie π
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1-2017, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, 2018 Edition, Copyright (C) 2018 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version 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 .
Any typographical or formatting errors that appear in this page are most likely to have been introduced during the conversion of the source files to man page format. To report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html .
and that's the whole page babes π«Ά this little masterpiece came to you from IEEE/The Open Group, 2017, and yeah it's cpio.h(0P) β remember the 0P bestie, it's the POSIX section, iykyk π
β¨πΈ
π¦ where this page comes from
- alpine 3.22: man-pages-posix 2017a-r0 Β· custom
- alpine 3.23: man-pages-posix 2017a-r0 Β· custom
- alpine 3.24: man-pages-posix 2017a-r0 Β· custom
- arch rolling: man-pages 6.19-1
- arch rolling: man-pages 6.20-1 Β· BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
- nixpkgs unstable: man-pages-posix 2017a
- opensuse-leap 16.0: man-pages-posix 2017a-160000.4.1 Β· SUSE-IEEE
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms