5 void *tss_get(tss_t key)
7 return pthread_getspecific(key);
12 #include <_PDCLIB_test.h>
22 TESTCASE(tss_create(&key, NULL) == thrd_success);
23 TESTCASE(tss_get(key) == NULL);
24 TESTCASE(tss_set(key, &v) == thrd_success);
25 TESTCASE(tss_get(key) == &v);