Returns the protocol attribute from the mutex attribute object.
#include <pthread.h> int pthread_mutexattr_getprotocol ( const pthread_mutexattr_t *attr, int *protocol);
(IN) Points to the mutex attribute object.
(OUT) Points to the value for the protocol attribute. For a list of supported values, see Section 48.1.3, Protocol Attribute Flags.
Returns zero; no error conditions have been defined.
The protocol attribute defines the protocol to be followed in utilizing mutexes. On NetWare, this attribute can be set, but it currently has no effect on the behavior of the mutex.