Returns the stack address in a thread attribute object.
#include <pthread.h>
int pthread_attr_getstackaddr (
const pthread_attr_t *attr,
void **stackaddr);
(IN) Points to the attribute object.
(OUT) Points to the location of the stack address.
If successful, returns zero; otherwise returns a nonzero error code: