Open System Services System Calls Reference Manual (G06.25+, H06.03+)

pthread_attr_getstackaddr(2) OSS System Calls Reference Manual
NAME
pthread_attr_getstackaddr
- Obtains the stackbase address attribute of the specied thread
attributes object
LIBRARY
G-series native OSS processes: /G/system/sysnn/zsptsrl
H-series OSS processes: /G/system/zdllnnn/zsptdll
SYNOPSIS
#include <spthread.h>
int pthread_attr_getstackaddr(
const pthread_attr_t *attr,
void **stackaddr );
PARAMETERS
attr Species the address of the thread attributes object whose stack address attribute
is obtained.
stackaddr Receives the value of the stack address for the thread attributes object.
DESCRIPTION
This function obtains the value of the stackbase address attribute of the thread attributes object
specied by the attr parameter and returns it in the stackaddr parameter. The specied attributes
object must be initialized before this function is called.
RETURN VALUES
This function returns 0 (zero) upon successful completion of the call.
RELATED INFORMATION
Functions: pthread_attr_init(2), pthread_getattr_np(2), pthread_create(2).
STANDARDS CONFORMANCE
Interfaces documented on this reference page conform to the following industry standards:
IEEE Std 1003.1c-1995, POSIX System Application Program Interface
The use of the header le spthread.h is an HP exception to the POSIX standard.
524 Hewlett-Packard Company 527186-003