Multithreaded Programming Guide

thr_getspecific Syntax

#include <thread.h>

int thr_getspecific(thread_key_t key, void **valuep);