SYNOPSIS
#include <pthread.h>
int pthread_getname_np(pthread_t thread, const char **name);
DESCRIPTION
The
PARAMETERS
- thread
-
Is the ID of the thread whose name is to be obtained.
- name
-
Is the location where the name should be stored.
RETURN VALUES
On success,
- EINVAL
-
The location pointed to by name is not writable.
- EFAULT
-
name is an invalid pointer.
- ESRCH
-
thread does not specify a currently running thread in the process.
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_create() ,pthread_setname_np()
PTC MKS Toolkit 10.5 Documentation Build 40.