projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
initial check-in, version 0.5.0
[oweals/musl.git]
/
src
/
thread
/
pthread_getspecific.c
1
#include "pthread_impl.h"
2
3
void *pthread_getspecific(pthread_key_t k)
4
{
5
struct pthread *self = pthread_self();
6
if (!self->tsd) return 0;
7
return self->tsd[k];
8
}