Open System Services System Calls Reference Manual (G06.25+, H06.03+)
System Functions (n - p) pthread_attr_init(2)
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.
527186-003 Hewlett-Packard Company 5−27