The pthread_attr_setstacksize function

Name

pthread_attr_setstacksize -- 

Synopsis

#include <pthread.h>

int pthread_attr_setstacksize (pthread_attr_t *attr , size_t stacksize );

Description

The pthread_attr_setstacksize function sets the stack size value on the given attribute.

Returns

The pthread_attr_setstacksize function returns zero if the call is successful, otherwise it sets errno to EINVAL and returns -1.

Implementation Notes

None