Files
musl/src/thread/pthread_getspecific.c

8 lines
138 B
C
Raw Normal View History

2011-02-12 00:22:29 -05:00
#include "pthread_impl.h"
void *pthread_getspecific(pthread_key_t k)
{
struct pthread *self = __pthread_self();
2011-02-12 00:22:29 -05:00
return self->tsd[k];
}