Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pthread_attr_create(3)

pthread_attr_setstacksize(3)

pthread_create(3)

pthread_attr_getstacksize(3)

NAME

pthread_attr_getstacksize - Obtains the value of the stacksize attribute

SYNOPSIS

#include <pthread.h> long pthread_attr_getstacksize( pthread_attr_t attr);

PARAMETERS

attrThread 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(3), pthread_attr_setstacksize(3), pthread_create(3). 

Hewlett-Packard Company  —  OSF DCE 1.1/HP DCE 1.5

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