Returns the type attribute from the mutex attribute object.
#include <pthread.h> int pthread_mutexattr_gettype ( const pthread_mutexattr_t *attr, int *kind );
(IN) Points to the mutex attribute object.
(OUT) Points to the value for the type attribute. For a list of supported values, see Section 48.1.1, Mutex Types.
If successful, returns 0. Otherwise, returns a nonzero error code.
The pthread_mutexattr_destroy function destroys an unused mutex attribute object.