repo.or.cz
/
glibc
/
history.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
strcasecmp_l and strncasecmp_l are in POSIX 2008.
[glibc/history.git]
/
elf
/
tst-tls11.c
blob
816cf5cc2fe45e7e861899a255f2a2e478e1a44a
1
#include
"tst-tls10.h"
2
3
#define CHECK(N, S) \
4
p = f##N##a (); \
5
if (p->a != S || p->b != S + 1 || p->c != S + 2) \
6
abort ()
7
8
int
9
main
(
void
)
10
{
11
#ifdef USE_TLS__THREAD
12
struct
A
*
p
;
13
check1
();
14
check2
();
15
CHECK
(
1
,
4
);
16
CHECK
(
2
,
22
);
17
CHECK
(
3
,
10
);
18
CHECK
(
4
,
25
);
19
CHECK
(
5
,
16
);
20
CHECK
(
6
,
19
);
21
CHECK
(
7
,
22
);
22
CHECK
(
8
,
25
);
23
CHECK
(
9
,
28
);
24
CHECK
(
10
,
31
);
25
#endif
26
exit
(
0
);
27
}