summaryrefslogtreecommitdiff
path: root/src/thread/pthread_getspecific.c
blob: b2a282c6e966c2d3d7381931f910fc7697f8292f (plain)
1
2
3
4
5
6
7
#include "pthread_impl.h"

void *pthread_getspecific(pthread_key_t k)
{
	struct pthread *self = __pthread_self();
	return self->tsd[k];
}