repo.or.cz
/
libc-test.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
functional: add mntent test
[libc-test.git]
/
src
/
api
/
cpio.c
blob
7f0a8f9828ac0e8b1ceb7fdc1aae04e88aafb395
1
#include <cpio.h>
2
#define C(n) switch(n){case n:;}
3
static void
f
(){
4
C
(
C_IRUSR
)
5
C
(
C_IWUSR
)
6
C
(
C_IXUSR
)
7
C
(
C_IRGRP
)
8
C
(
C_IWGRP
)
9
C
(
C_IXGRP
)
10
C
(
C_IROTH
)
11
C
(
C_IWOTH
)
12
C
(
C_IXOTH
)
13
C
(
C_ISUID
)
14
C
(
C_ISGID
)
15
C
(
C_ISVTX
)
16
C
(
C_ISDIR
)
17
C
(
C_ISFIFO
)
18
C
(
C_ISREG
)
19
C
(
C_ISBLK
)
20
C
(
C_ISCHR
)
21
C
(
C_ISCTG
)
22
C
(
C_ISLNK
)
23
C
(
C_ISSOCK
)
24
{
char
*
s
=
""
MAGIC
;}
25
}
26