See pthread_attr_getstack.html