Multithreaded Programming Guide

thr_getspecific Return Values

thr_getspecific() returns 0 if successful. When any of the following conditions is detected, thr_getspecific() fails and returns the corresponding value.


ENOMEM

Description:

Insufficient memory is available to associate value with keyp.


EINVAL

Description:

keyp is invalid.