pthread_mutexattr_getkind_np(3-thr) pthread_mutexattr_getkind_np(3-thr)
NAME
pthreadmutexattrgetkindnp - obtains the mutex type attribute used
when a mutex is created
SYNOPSIS
#include <pthread.h>
int pthreadmutexattrgetkindnp(pthreadmutexattrt attr);
PARAMETERS
attr Mutex attributes object whose mutex type is obtained.
DESCRIPTION
The pthreadmutexattrgetkindnp() routine obtains the mutex type
attribute that is used when a mutex is created. See the
pthreadmutexattrsetkindnp() reference page for information about
mutex type attributes.
This routine is a new primitive.
RETURN VALUES
If the function fails, errno may be set to one of the following
values:
EINVAL The value specified by attr is invalid.
SEE ALSO
pthreadmutexinit(3-thr), pthreadmutexattrcreate(3-thr),
pthreadmutexattrsetkindnp(3-thr).
Page 1 Reliant UNIX 5.44 Printed 11/98