cpio.h(7POSIX)
πΈ cpio.h(7POSIX) β the POSIX Programmer's Manual page, bestie edition π
okay so real talk: this page lives in the POSIX Programmer's Manual (yes that one, the 7POSIX one, we love her). Heads up tho π«Ά β the Linux implementation of this interface may differ, so if you're on Linux, go check the corresponding Linux manual page for the deets on Linux behavior. Or... plot twist: the interface might not even be implemented on Linux at all. π vibe check accordingly.
π NAME
cpio.h β cpio archive values β¨
π 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. names + values, coming right up π
C_IRUSRβ read by owner. value (octal):0000400C_IWUSRβ write by owner. value (octal):0000200C_IXUSRβ execute by owner. value (octal):0000100C_IRGRPβ read by group. value (octal):0000040C_IWGRPβ write by group. value (octal):0000020C_IXGRPβ execute by group. value (octal):0000010C_IROTHβ read by others. value (octal):0000004C_IWOTHβ write by others. value (octal):0000002C_IXOTHβ execute by others. value (octal):0000001C_ISUIDβ set user ID. value (octal):0004000C_ISGIDβ set group ID. value (octal):0002000C_ISVTXβ on directories, restricted deletion flag. value (octal):0001000C_ISDIRβ directory. value (octal):0040000C_ISFIFOβ FIFO. value (octal):0010000C_ISREGβ regular file. value (octal):0100000C_ISBLKβ block special. value (octal):0060000C_ISCHRβ character special. value (octal):0020000C_ISCTGβ reserved. value (octal):0110000C_ISLNKβ symbolic link. value (octal):0120000C_ISSOCKβ socket. value (octal):0140000
and that's the whole set, no notes, we move π§
the <cpio.h> header shall also define this symbolic constant, and it's a string:
MAGIC "070707"
iconic. the magic number said what it said. π₯
heads up: the following sections are informative β aka the chill ones, not the binding ones.
π APPLICATION USAGE
None. literally nothing. empty. a whole section with zero content and honestly? she ate. π
π RATIONALE
None. also nothing. two for two. π
β FUTURE DIRECTIONS
None. the future is a mystery but this section is not β it's empty, fr fr.
π SEE ALSO
- The Shell and Utilities volume of POSIX.1β2017,
paxπ«Ά
π COPYRIGHT
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, bestie!! π this one came from IEEE/The Open Group, 2017, and the page itself is cpio.h(7POSIX). go forth and archive responsibly. mwah. πβ¨
π¦ where this page comes from
- debian bookworm: manpages-posix-dev 2017a-2 Β· Other
- debian trixie: manpages-posix-dev 2017a-2 Β· Other
- ubuntu jammy: manpages-posix-dev 2017a-2 Β· Other
- ubuntu noble: manpages-posix-dev 2017a-2 Β· Other
- ubuntu resolute: manpages-posix-dev 2017a-2build1 Β· Other
- ubuntu stonking: manpages-posix-dev 2017a-2.1 Β· Other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms