logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

tar.h.0p (2972B)


  1. '\" et
  2. .TH tar.h "0P" 2017 "IEEE/The Open Group" "POSIX Programmer's Manual"
  3. .\"
  4. .SH PROLOG
  5. This manual page is part of the POSIX Programmer's Manual.
  6. The Linux implementation of this interface may differ (consult
  7. the corresponding Linux manual page for details of Linux behavior),
  8. or the interface may not be implemented on Linux.
  9. .\"
  10. .SH NAME
  11. tar.h
  12. \(em extended tar definitions
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. #include <tar.h>
  17. .fi
  18. .SH DESCRIPTION
  19. The
  20. .IR <tar.h>
  21. header shall define the following symbolic constants with the
  22. indicated values.
  23. .P
  24. General definitions:
  25. .TS
  26. box tab(!);
  27. cB | cB | cB
  28. lw(1i) | cf5w(1i) | lw(3i).
  29. Name!Value!Description
  30. _
  31. TMAGIC!"ustar"!T{
  32. Used in the magic field in the
  33. .BR ustar
  34. header block, including the trailing null byte.
  35. T}
  36. TMAGLEN!6!Length in octets of the magic field.
  37. TVERSION!"00"!T{
  38. Used in the version field in the
  39. .BR ustar
  40. header block, excluding the trailing null byte.
  41. T}
  42. TVERSLEN!2!Length in octets of the version field.
  43. .TE
  44. .P
  45. .IR Typeflag
  46. field definitions:
  47. .TS
  48. box tab(!);
  49. cB | cB | cB
  50. lw(1i) | cf5w(1i) | lw(3i).
  51. Name!Value!Description
  52. _
  53. REGTYPE!'0'!Regular file.
  54. AREGTYPE!'\e0'!Regular file.
  55. LNKTYPE!'1'!Link.
  56. SYMTYPE!'2'!Symbolic link.
  57. CHRTYPE!'3'!Character special.
  58. BLKTYPE!'4'!Block special.
  59. DIRTYPE!'5'!Directory.
  60. FIFOTYPE!'6'!FIFO special.
  61. CONTTYPE!'7'!Reserved.
  62. .TE
  63. .P
  64. \fIMode\fP field bit definitions (octal):
  65. .TS
  66. box tab(@);
  67. cB | cB | cB
  68. lw(1i) | cf5w(1i) | lw(3i).
  69. Name@Value@Description
  70. _
  71. TSUID@04000@Set UID on execution.
  72. TSGID@02000@Set GID on execution.
  73. TSVTX@01000@\*!On directories, restricted deletion flag.\0\0\0\*?
  74. TUREAD@00400@Read by owner.
  75. TUWRITE@00200@Write by owner special.
  76. TUEXEC@00100@Execute/search by owner.
  77. TGREAD@00040@Read by group.
  78. TGWRITE@00020@Write by group.
  79. TGEXEC@00010@Execute/search by group.
  80. TOREAD@00004@Read by other.
  81. TOWRITE@00002@Write by other.
  82. TOEXEC@00001@Execute/search by other.
  83. .TE
  84. .LP
  85. .IR "The following sections are informative."
  86. .SH "APPLICATION USAGE"
  87. None.
  88. .SH RATIONALE
  89. None.
  90. .SH "FUTURE DIRECTIONS"
  91. None.
  92. .SH "SEE ALSO"
  93. The Shell and Utilities volume of POSIX.1\(hy2017,
  94. .IR "\fIpax\fR\^"
  95. .\"
  96. .SH COPYRIGHT
  97. Portions of this text are reprinted and reproduced in electronic form
  98. from IEEE Std 1003.1-2017, Standard for Information Technology
  99. -- Portable Operating System Interface (POSIX), The Open Group Base
  100. Specifications Issue 7, 2018 Edition,
  101. Copyright (C) 2018 by the Institute of
  102. Electrical and Electronics Engineers, Inc and The Open Group.
  103. In the event of any discrepancy between this version and the original IEEE and
  104. The Open Group Standard, the original IEEE and The Open Group Standard
  105. is the referee document. The original Standard can be obtained online at
  106. http://www.opengroup.org/unix/online.html .
  107. .PP
  108. Any typographical or formatting errors that appear
  109. in this page are most likely
  110. to have been introduced during the conversion of the source files to
  111. man page format. To report such errors, see
  112. https://www.kernel.org/doc/man-pages/reporting_bugs.html .