VMS Help DCE_THREADS, Application Routines, pthread_attr_getstacksize *Conan The Librarian (sorry for the slow response - running on an old VAX) |
NAME pthread_attr_getstacksize - Obtains the value of the stacksize attribute SYNOPSIS #include <pthread.h> long pthread_attr_getstacksize(pthread_attr_t attr); PARAMETERS attr Thread attributes object whose stacksize attribute is obtained. DESCRIPTION The pthread_attr_getstacksize() routine obtains the minimum size (in bytes) of the stack for a thread created using the thread attributes object specified by the attr parameter. RETURN VALUES On successful completion, this routine returns the stacksize attribute value. If the function fails, errno may be set to one of the following values: Return Error Description __________________________________________________________ Stacksize attribute Successful completion. -1 [EINVAL] The value specified by attr is invalid. RELATED INFORMATION FUNCTIONS: pthread_attr_create pthread_attr_setstacksize pthread_create
|