Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pthread_rwlockattr_destroy(3) — Tru64 UNIX 4.0f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pthread_rwlockattr_init(3)

pthread_rwlock_init(3)

pthread_rwlockattr_destroy(3)  —  Subroutines

NAME

pthread_rwlockattr_destroy − Destroys a previously initialized read-write lock attributes object. 

LIBRARY

DECthreads POSIX 1003.1c Library (libpthread.so)

SYNOPSIS

#include <pthread.h>

int   pthread_rwlockattr_destroy(
                      pthread_rwlockattr_t         ∗attr);

PARAMETERS

attrAddress of the read-write lock attributes object to be destroyed. 

DESCRIPTION

This routine destroys the read-write lock attributes object referenced by attr -- that is, the object becomes uninitialized. 

After successful completion of this routine, the results of using attr in a call to any routine (other than pthread_rwlockattr_init) are unpredictable. 

RETURN VALUES

If an error condition occurs, this routine returns an integer value indicating the type of error.  Possible return values are as follows:

0Successful completion. 

[EINVAL]The value specified by attr is invalid. 

ERRORS

None

RELATED INFORMATION

Functions: pthread_rwlockattr_init(3), pthread_rwlock_init(3)

Manuals: Guide to DECthreads and Programmer’s Guide
 
 
 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026