Open System Services System Calls Reference Manual (G06.28+, H06.05+)
System Functions (n - p) pthread_attr_getstackaddr(2)
NAME
pthread_attr_getstackaddr
- Obtains the stackbase address attribute of the specified 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 Specifies 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
specified by the attr parameter and returns it in the stackaddr parameter. The specified 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 file spthread.h is an HP exception to the POSIX standard.
527186-007 Hewlett-Packard Company 5−35