Multithreaded Programming Guide

pthread_mutexattr_getprioceiling Return Values

On successful completion, pthread_mutexattr_getprioceiling() returns 0. Any other return value indicates that an error occurred.

If either of the following conditions occurs, pthread_mutexattr_getprioceiling() might fail and return the corresponding value.


EINVAL

Description:

The value specified by attr is NULL.


EPERM

Description:

The caller does not have the privilege to perform the operation.