pthread_cond_getname_np()

get name associated with condition variable 

Function


SYNOPSIS

#include <pthread.h>

int pthread_cond_getname_np(pthread_cond_t *cond, const char **name);


DESCRIPTION

The pthread_cond_getname_np() function returns the name associated with the specified condition variable, if any, in the specified pointer name.


PARAMETERS

cond 

Is the condition variable whose name is to be obtained.

name 

Is the location where the name should be stored.


RETURN VALUES

On success, pthread_cond_getname_np() returns 0. On error, one of the following values is returned:

EINVAL 

cond does not refer to an initialized condition variable, or the location pointed to by name is not writable.

EFAULT 

cond or name is an invalid pointer.


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_cond_init(), pthread_cond_setname_np()


PTC MKS Toolkit 10.3 Documentation Build 39.