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
bits/syscall.h: add landlock syscalls from linux v5.13
[musl.git]
/
src
/
thread
/
pthread_getspecific.c
blob
d9342a560f7bc6c9341b27911ae353d03a78fb1f
1
#include
"pthread_impl.h"
2
#include <threads.h>
3
4
static void
*
__pthread_getspecific
(
pthread_key_t k
)
5
{
6
struct
pthread
*
self
=
__pthread_self
();
7
return
self
->
tsd
[
k
];
8
}
9
10
weak_alias
(
__pthread_getspecific
,
pthread_getspecific
);
11
weak_alias
(
__pthread_getspecific
,
tss_get
);