[Previous] [Contents] [Next]

pthread_attr_getstackaddr()

Get thread stack address attribute

Synopsis:

#include <pthread.h>

int pthread_attr_getstackaddr(
                    const pthread_attr_t* attr,
                    void** stackaddr );

Library:

libc

Description:

The pthread_attr_getstackaddr() function gets the thread stack address attribute from the thread attribute object attr and returns it in stackaddr. See the pthread_attr_setstackaddr() function for a description of the possible values of stackaddr.

Returns:

EOK
Success.

Classification:

POSIX 1003.1 (Threads)

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

pthread_attr_setstackaddr(), pthread_attr_init(), pthread_create().


[Previous] [Contents] [Next]