pthread_attr_destroy

Frees a thread attribute object.

Library:LibC
Classification:POSIX
Service:Threads

Syntax

  #include <pthread.h>
   
  int   pthread_attr_destroy (
     pthread_attr_t   *attr);
  

Parameters

attr

(IN) Points to the attribute object to destroy.

Return Values

If successful, returns zero; otherwise returns a nonzero error code:

Decimal

Constant

Description

9

EINVAL

The attribute object is invalid.

See Also

pthread_attr_init