Open System Services System Calls Reference Manual (G06.25+, H06.03+)

pthread_attr_destroy(2) OSS System Calls Reference Manual
NAME
pthread_attr_destroy - Destroys a 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_destroy(
pthread_attr_t *attr );
PARAMETERS
attr species the thread attributes object to be destroyed.
DESCRIPTION
This function destroys a thread attributes object. Call this function when a thread attributes
object will no longer be referenced.
Threads that were created using this thread attributes object are not affected by the destruction of
this thread attributes object.
RETURN VALUES
This function always returns 0 (zero).
RELATED INFORMATION
Functions: pthread_attr_init(2), pthread_create(2).
STANDARDS CONFORMANCE
This function is an extension to the XPG4 Version 2 specication. 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 le spthread.h is an HP exception to the POSIX standard.
518 Hewlett-Packard Company 527186-003