SYNOPSIS
#include <pthread.h>
int pthread_setspecific(pthread_key_t key, const void *value);
DESCRIPTION
The
The effect of calling
PARAMETERS
- key
-
Is the thread-specific data key to which data is assigned.
- value
-
Is the thread-specific data value to store.
RETURN VALUES
On success,
- EINVAL
-
key is not a valid thread-specific data key.
- ENOMEM
-
Insufficient memory exists to associate the value with the key.
CONFORMANCE
POSIX P1003.1 (1996)
MULTITHREAD SAFETY LEVEL
MT-safe.
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.4 Documentation Build 39.