Files
musl/src/thread/pthread_getspecific.c
2011-03-03 18:30:44 -05:00

8 lines
138 B
C

#include "pthread_impl.h"
void *pthread_getspecific(pthread_key_t k)
{
struct pthread *self = __pthread_self();
return self->tsd[k];
}