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
fgetwc may clobber errno when the result is not WEOF
[libc-test.git]
/
src
/
api
/
sys_types.c
blob
d9db5ede5c07037fbe0a4c4515774827a9cdfc20
1
#include <sys/types.h>
2
#define T(t) (t*)0;
3
#define N(t) {t x = 1;}
4
static void
f
()
5
{
6
N
(
blkcnt_t
)
7
N
(
blksize_t
)
8
N
(
clock_t
)
9
N
(
clockid_t
)
10
N
(
dev_t
)
11
N
(
gid_t
)
12
N
(
id_t
)
13
N
(
ino_t
)
14
N
(
mode_t
)
15
N
(
nlink_t
)
16
N
(
off_t
)
17
N
(
pid_t
)
18
N
(
size_t
)
19
N
(
ssize_t
)
20
N
(
time_t
)
21
T
(
timer_t
)
22
N
(
uid_t
)
23
#ifdef _XOPEN_SOURCE
24
N
(
fsblkcnt_t
)
25
N
(
fsfilcnt_t
)
26
N
(
key_t
)
27
N
(
suseconds_t
)
28
#endif
29
T
(
pthread_attr_t
)
30
T
(
pthread_barrier_t
)
31
T
(
pthread_barrierattr_t
)
32
T
(
pthread_cond_t
)
33
T
(
pthread_condattr_t
)
34
T
(
pthread_key_t
)
35
T
(
pthread_mutex_t
)
36
T
(
pthread_mutexattr_t
)
37
T
(
pthread_once_t
)
38
T
(
pthread_rwlock_t
)
39
T
(
pthread_rwlockattr_t
)
40
T
(
pthread_spinlock_t
)
41
T
(
pthread_t
)
42
}
43