Open System Services System Calls Reference Manual (G06.28+, H06.05+)
pthread_attr_init(2) OSS System Calls Reference Manual
RETURN VALUES
If an error condition occurs, the thread attributes object cannot be used and 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 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
This function is an extension to the XPG4 Version 2 specification. 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.
5−38 Hewlett-Packard Company 527186-007