SYNOPSIS
#include <pthread.h>
int pthread_getname_np(pthread_rwlock_t *rwlock, const char *name);
DESCRIPTION
The
PARAMETERS
- rwlock
-
Points to the read-write lock whose name is to be obtained.
- name
-
Points to the location where the read-write lock name is to be stored.
RETURN VALUES
On success,
- EFAULT
-
name is an invalid pointer.
- EINVAL
-
The location pointed to by name is not writable.
- ESRCH
-
rwlock does not specify a valid read-write lock.
CONFORMANCE
PTC MKS Toolkit UNIX APIs extension.
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
- Functions:
pthread_rwlock_init() ,pthread_rwlock_setname_np()
PTC MKS Toolkit 10.5 Documentation Build 40.