| Main index | Section 3 | Options |
#include <pthread_np.h>
It is recommended to use the pthread_mutexattr_gettype(3) and pthread_mutexattr_settype(3) functions instead.
The pthread_mutexattr_setkind_np function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error.
| [EINVAL] | |
| The value specified by attr is invalid. | |
| PTHREAD_MUTEXATTR_GETKIND_NP (3) | October 12, 2021 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs. | ” |
| — Maurice Wilkes | ||