NAME
pptthhrreeaaddggeettssppeecciiffiicc - get a thread-specific data value
SYNOPSIS
##iinncclluuddee <
void * pptthhrreeaaddggeettssppeecciiffiicc(pthreadkeyt key);> DESCRIPTION
The pptthhrreeaaddggeettssppeecciiffiicc() function returns the value currently bound to the specified key on behalf of the calling thread. The effect of calling pptthhrreeaaddggeettssppeecciiffiicc() with a key value not obtained from pptthhrreeaaddkkeeyyccrreeaattee() or after key has been deleted with pptthhrreeaaddkkeeyyddeelleettee() is undefined.pptthhrreeaaddggeettssppeecciiffiicc() may be called from a thread-specific data destruc-
tor function.RETURN VALUES
The pptthhrreeaaddggeettssppeecciiffiicc() function will return the thread-specific data
value associated with the given key. If no thread-specific data value is
associated with key, then the value NULL is returned. EERRRROORRSS None.SEE ALSO
pthreadkeycreate(3), pthreadkeydelete(3), pthreadsetspecific(3) STANDARDSpptthhrreeaaddggeettssppeecciiffiicc() conforms to ISO/IEC 9945-1:1996 (``POSIX.1'').
BSD April 4, 1996 BSD