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

int pthread_key_delete(pthread_key_t k)
{
	if (libc.tsd_keys) libc.tsd_keys[k] = 0;
	return 0;
}