repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix deletion of pthread tsd keys that still have non-null values stored
[musl.git]
/
include
/
tar.h
blob
2eba66ec000afcf1db6e2a5a0dae6143face2846
1
#ifndef _TAR_H
2
#define _TAR_H
3
4
#include <features.h>
5
6
#define TSUID 04000
7
#define TSGID 02000
8
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_XOPEN_SOURCE)
9
#define TSVTX 01000
10
#endif
11
#define TUREAD 00400
12
#define TUWRITE 00200
13
#define TUEXEC 00100
14
#define TGREAD 00040
15
#define TGWRITE 00020
16
#define TGEXEC 00010
17
#define TOREAD 00004
18
#define TOWRITE 00002
19
#define TOEXEC 00001
20
21
#define REGTYPE
'0'
22
#define AREGTYPE
'\0'
23
#define LNKTYPE
'1'
24
#define SYMTYPE
'2'
25
#define CHRTYPE
'3'
26
#define BLKTYPE
'4'
27
#define DIRTYPE
'5'
28
#define FIFOTYPE
'6'
29
#define CONTTYPE
'7'
30
31
#define TMAGIC
"ustar"
32
#define TMAGLEN 6
33
34
#define TVERSION
"00"
35
#define TVERSLEN 2
36
37
#endif