Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pthread_attr_create(3P)

pthread_attr_setstacksize(3P)

PTHREAD_ATTR_GETSTACKSIZE(3P)        SysV        PTHREAD_ATTR_GETSTACKSIZE(3P)



NAME
     pthread_attr_getstacksize - Returns the value of the stack size attribute
     of a thread attributes object

SYNOPSIS
     #include <pthread.h>

     int pthread_attr_getstacksize (attr)
     pthread_attr_t  attr;

DESCRIPTION
     The pthread_attr_getstacksize function returns the value of the stack
     size attribute of the specified attributes object in bytes.

     attr specifies the address of the thread attributes object to be
     examined.

NOTES
     This interface is based on draft 4 of the IEEE P1003.4a standard, and
     will be changed to conform to the final version.

DIAGNOSTICS
     Upon successful completion, the stack size is returned.  Otherwise, -1 is
     returned and errno is set to indicate the error.

ERRORS
     If the pthread_attr_getstacksize function fails, errno may be set to the
     following value:

     [EINVAL]  The value specified by the attr argument is invalid.

SEE ALSO
     pthread_attr_create(3P), pthread_attr_setstacksize(3P)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026