Query: pthread_getspecific
OS: osf1
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
pthread_getspecific(3) Library Functions Manual pthread_getspecific(3)NAMEpthread_getspecific - Obtains the thread-specific data associated with the specified key.LIBRARYDECthreads POSIX 1003.1c Library (libpthread.so)SYNOPSIS#include <pthread.h> void *pthread_getspecific( pthread_key_t key);STANDARDSInterfaces documented on this reference page conform to industry standards as follows: IEEE Std 1003.1c-1995, POSIX System Application Program InterfacePARAMETERSThe context key identifies the thread-specific data to be obtained.DESCRIPTIONThis routine obtains the thread-specific data associated with the specified key for the current thread. Obtain this key by calling the pthread_key_create(3) routine. This routine returns the value currently bound to the specified key on behalf of the calling thread. This routine may be called from a thread-specific data destructor function.RETURN VALUESNo errors are returned. This routine returns the thread-specific data value associated with the specified key argument. If no thread-spe- cific data value is associated with key, or if key is not defined, then this routine returns a NULL value.RELATED INFORMATIONFunctions: pthread_key_create(3), pthread_setspecific(3) Manuals: Guide to DECthreads and Programmer's Guide delim off pthread_getspecific(3)
Related Man Pages |
---|
pthread_getspecific(3c) - opensolaris |
pthread_getspecific(3c) - sunos |
pthread_getspecific(3) - linux |
pthread_setspecific(3) - netbsd |
pthread_getspecific(3t) - hpux |
Similar Topics in the Unix Linux Community |
---|
Selecting specific line using awk |
Thread specific data from linux core dump |