pthread_attr_setstacksize (3) Linux Manual Page
pthread_attr_setstacksize, pthread_attr_getstacksize – set/get stack size attribute in thread attributes object Synopsis #include <pthread.h> int pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize); int pthread_attr_getstacksize(const pthread_attr_t *attr, size_t *stacksize); Compile and link with – pthread. Description The pthread_attr_setstacksize() function sets the stack size attribute of the thread attributes object referred to by attr to the value specified in stacksize….
