Open System Services System Calls Reference Manual (G06.25+, H06.03+)
System Functions (n - p) pthread_mutexattr_getkind_np(2)
NAME
pthread_mutexattr_getkind_np
- Obtains the mutex type attribute of a mutex attributes object
LIBRARY
G-series native OSS processes: /G/system/sysnn/zsptsrl
H-series OSS processes: /G/system/zdllnnn/zsptdll
SYNOPSIS
#include <spthread.h>
extern int pthread_mutexattr_getkind_np(
pthread_mutexattr_t attr );
PARAMETERS
attr specifies the mutex attributes object whose mutex type is to be obtained.
DESCRIPTION
The pthread_mutexattr_getkind_np( )
function obtains the mutex type attribute of the mutex
attributes object specified by the attr parameter. See the pthread_mutexattr_setkind_np(2)
reference page either online or in the Open System Services System Calls Reference Manual for
information about the mutex type attribute.
RETURN VALUES
One of the following values can be returned:
0 Successful completion.
[EINVAL] The value specified by the attr parameter is invalid.
RELATED INFORMATION
Functions: pthread_mutex_init(2), pthread_mutexattr_init(2),
pthread_mutexattr_setkind_np(2).
STANDARDS CONFORMANCE
This function is an extension to the XPG4 Version 2 specification and to the following industry
standards:
• IEEE Std 1003.1c-1995, POSIX System Application Program Interface
527186-003 Hewlett-Packard Company 5−83