pthread_attr_getstacksize(3-thr) pthread_attr_getstacksize(3-thr)
NAME
pthreadattrgetstacksize - obtains the value of the stacksize attri-
bute
SYNOPSIS
#include <pthread.h>
long pthreadattrgetstacksize(pthreadattrt attr);
PARAMETERS
attr Thread attributes object whose stacksize attribute is
obtained.
DESCRIPTION
The pthreadattrgetstacksize() 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:
EINVAL The value specified by attr is invalid.
SEE ALSO
pthreadattrcreate(3-thr), pthreadattrsetstacksize(3-thr),
pthreadcreate(3-thr).
Page 1 Reliant UNIX 5.44 Printed 11/98