Thread Manager pthread_attr_getdetachstate - Get Detach State
RTEMS POSIX API User's Guide
17.4.4: pthread_attr_getdetachstate - Get Detach State
CALLING SEQUENCE:
#include <pthread.h>
int pthread_attr_getdetachstate(
const pthread_attr_t *attr,
int *detachstate
);
STATUS CODES:
EINVAL
The attribute pointer argument is invalid.
EINVAL
The attribute set is not initialized.
EINVAL
The detatchstate pointer argument is invalid.
DESCRIPTION:
The pthread_attr_getdetachstate routine is used to obtain the
current value of the detachstate attribute as specified
by the attr thread attribute object.