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

System Functions (n - p) pthread_attr_init(2)
[EINVAL] The value specified by the attr parameter is not a valid thread attributes object.
[ENOMEM] Insufficient memory exists to initialize the thread attributes object.
RELATED INFORMATION
Functions: pthread_attr_destroy(2), pthread_attr_setdetachstate(2),
pthread_attr_setguardsize_np(2), pthread_attr_setinheritsched(2),
pthread_attr_setschedparam(2), pthread_attr_setschedpolicy(2),
pthread_attr_setstacksize(2), pthread_create(2).
STANDARDS CONFORMANCE
Interfaces documented on this reference page conform to the following industry standards:
IEEE Std 1003.1-2004, POSIX System Application Program Interface
The use of the header file spthread.h is an HP exception to the POSIX standard.
527186-023 Hewlett-Packard Company 553