Specifies the location for the stack address in a thread attribute object.
#include <pthread.h>
int pthread_attr_setstackaddr (
pthread_attr_t *attr,
void *stackaddr);
(IN) Points to the attribute object.
(IN) Points to the location for the stack address. When a user-allocated stack is used, the stack needs to be aligned on a 32-bit boundary.
If successful, returns zero; otherwise returns a nonzero error code: