repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
linux ttyname{_r}: Make tty checks consistent
[glibc.git]
/
elf
/
tst-tls19mod3.c
blob
e7b28016b3b45097b8d763b3f80f173ade07f0d5
1
#include <stdio.h>
2
3
static int
__thread tbaz
__attribute__
((
tls_model
(
"local-dynamic"
))) =
42
;
4
5
void
6
setter2
(
int
a
)
7
{
8
tbaz
=
a
;
9
}
10
11
int
12
baz
(
void
)
13
{
14
printf
(
"&tbaz=%p
\n
"
, &
tbaz
);
15
return
tbaz
;
16
}