Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

System Functions (n - p) pthread_attr_getguardsize(2)
Include the pthread.h header file in the application.
Compile the application using the _PUT_MODEL_ feature test macro or equivalent
compiler command option.
Compile the application using the -Wlp64 compiler command option.
Link the application to the yputdll library (/G/system/zdllnnn/yputdll).
NOTES
The value of the guardsize attribute of a particular thread attributes object does not necessarily
correspond to the actual size of the guard area of any existing thread in a multi-threaded pro-
gram.
This function is not supported with the Standard POSIX Threads (SPT) library. SPT-based appli-
cations should use the pthread_attr_getguardsize_np() function instead.
For detailed information about writing multi-threaded applications for the Open System Services
environment using the POSIX User Thread Model library, see the Open System Services
Programmer’s Guide.
RETURN VALUES
If an error condition occurs, this function returns an integer value indicating the type of error.
Possible return values are:
0 Successful completion.
[EINVAL] The value specified by the attr parameter is invalid.
RELATED INFORMATION
Functions: pthread_attr_init(2), pthread_attr_getguardsize_np(2),
pthread_attr_setguardsize(2).
STANDARDS CONFORMANCE
This function conforms to the following industry standards:
IEEE Std 1003.1-2004, POSIX System Application Program Interface
527186-023 Hewlett-Packard Company 537