Multithreaded Programming Guide

Return Values

If successful, the pthread_mutexattr_settype function returns zero. Otherwise, an error number is returned to indicate the error.


EINVAL

The value type is invalid.


EINVAL

The value specified by attr is invalid.