|
NAMEpthread_getspecific —
get a thread-specific data value
LIBRARYPOSIX Threads Library (libpthread, -lpthread)SYNOPSIS#include <pthread.h>
void *
DESCRIPTIONThepthread_getspecific () function returns the value
currently bound to the specified key on behalf of the
calling thread.
The effect of calling
The RETURN VALUESThepthread_getspecific () 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.
ERRORSNone.SEE ALSOpthread_key_create(3), pthread_key_delete(3), pthread_setspecific(3)STANDARDSThepthread_getspecific () function conforms to
ISO/IEC 9945-1:1996 (“POSIX.1”).
Visit the GSP FreeBSD Man Page Interface. |