tar.h(7POSIX)
β¨ PROLOG β¨
okay so real talk before we even get into it π β this manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ, so pls consult the corresponding Linux manual page for details on Linux behavior, or, honestly, the interface may just not be implemented on Linux at all. no cap. π
πΈ NAME πΈ
tar.h β extended tar definitions π
π¦ SYNOPSIS π¦
#include <tar.h>
π DESCRIPTION π
The <tar.h> header shall define the following symbolic constants with the indicated values. it's giving header file with main character energy, periodt.
β General definitions β
TMAGICβ value:"ustar"β used in the magic field in the ustar header block, and yes bestie, including the trailing null byte πTMAGLENβ value:6β length in octets of the magic fieldTVERSIONβ value:"00"β used in the version field in the ustar header block, and this time excluding the trailing null byte (not me noticing the inconsistency π)TVERSLENβ value:2β length in octets of the version field
π Typeflag field definitions π
REGTYPEβ value:'0'β Regular fileAREGTYPEβ value:'\0'β Regular fileLNKTYPEβ value:'1'β LinkSYMTYPEβ value:'2'β Symbolic linkCHRTYPEβ value:'3'β Character specialBLKTYPEβ value:'4'β Block specialDIRTYPEβ value:'5'β DirectoryFIFOTYPEβ value:'6'β FIFO specialCONTTYPEβ value:'7'β Reserved
π Mode field bit definitions (octal) π
TSUIDβ value:04000β Set UID on executionTSGIDβ value:02000β Set GID on executionTSVTXβ value:01000β On directories, restricted deletion flagTUREADβ value:00400β Read by ownerTUWRITEβ value:00200β Write by owner specialTUEXECβ value:00100β Execute/search by ownerTGREADβ value:00040β Read by groupTGWRITEβ value:00020β Write by groupTGEXECβ value:00010β Execute/search by groupTOREADβ value:00004β Read by otherTOWRITEβ value:00002β Write by otherTOEXECβ value:00001β Execute/search by other
heads up bestie: the following sections are informative. π«Ά
π APPLICATION USAGE π
None. literally nothing. we love a low-effort section π
π§ RATIONALE π§
None. empty. void. iconic in its own way β¨
π FUTURE DIRECTIONS π
None. the future is cancelled apparently π
π₯ 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, no notes π«Ά this masterpiece dropped in 2017, brought to you by the fine folks at IEEE/The Open Group, filed under tar.h(7POSIX) β read it, memorise the octal values, slay π
πβ
π¦ 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