thr_min_stack(3scl)thr_min_stack(3scl)NAMEthr_min_stack - Returns the minimum allowed thread stack size.
LIBRARY
SCL Threads Library (libthread.so)
SYNOPSIS
#include <thread.h>
size_t thr_min_stack( void );
PARAMETERS
None.
DESCRIPTION
This routine returns the minimum stack size of a thread. This informa‐
tion may be useful when creating threads with thr_create(3scl) and the
application specifies a stack-size. However, typically it is best to
let the thread library manage the stack allocation.
SCL IMPLEMENTATION NOTESthr_min_stack(3scl) is implemented by returning the POSIX thread
library constant PTHREAD_MIN_STACK, which is defined in <pthread.h>.
RETURN VALUES
The minimum thread stack size is returned.
ERRORS
None.
RELATED INFORMATION
Functions: scl_intro(3scl), scl_thread_intro(3scl), thr_create(3scl)
Manuals: Solaris Compatibility Libraries User's Guide
thr_min_stack(3scl)