Obtains the stacksize attribute of the specified thread attributes object.
pthread_attr_getstacksize( attr, stacksize );
Argument Data Type Accessattr opaque pthread_attr_t read stacksize size_t write
#includeint pthread_attr_getstacksize ( const pthread_attr_t *attr, size_t *stacksize);
If an error condition occurs, this routine returns an integer value indicating the type of error. Possible return values are as follows:
Return Description0 Successful completion. EINVAL The value specified by attr is invalid.
pthread_attr_init pthread_attr_setstacksize pthread_create