SYNOPSIS
#include <pthread.h>
int pthread_condattr_getpshared(const pthread_condattr_t *attr, int *pshared);
DESCRIPTION
The
PARAMETERS
- attr
-
Is a condition variable attribute object.
- pshared
-
Is the address of the location to store the current process-shared state attribute.
RETURN VALUES
On success,
- EINVAL
-
attr does not refer to an initialized condition variable attribute object, or pshared is not writable.
- EFAULT
-
attr or pshared is an invalid pointer.
CONFORMANCE
POSIX P1003.1 (1996)
MULTITHREAD SAFETY LEVEL
MT-safe.
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.5 Documentation Build 40.