*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> pthread_rwlockattr_destroy (3)              
Title
Content
Arch
Section
 

Contents


PTHREAD_RWLOCKATTR_... FreeBSD Library Functions Manual PTHREAD_RWLOCKATTR_...

NAME    [Toc]    [Back]

     pthread_rwlockattr_destroy -- destroy a read/write lock

LIBRARY    [Toc]    [Back]

     Reentrant C Library (libc_r, -lc_r)

SYNOPSIS    [Toc]    [Back]

     #include <pthread.h>

     int
     pthread_rwlockattr_destroy(pthread_rwlockattr_t *attr);

DESCRIPTION    [Toc]    [Back]

     The pthread_rwlockattr_destroy() function is used to destroy a read/write
     lock attribute object previously created with pthread_rwlockattr_init().

RETURN VALUES    [Toc]    [Back]

     If successful, the pthread_rwlockattr_destroy() function will return
     zero.  Otherwise an error number will be returned to indicate the error.

SEE ALSO    [Toc]    [Back]

      
      
     pthread_rwlockattr_init(3)

STANDARDS    [Toc]    [Back]

     The pthread_rwlockattr_destroy() function is expected to conform to
     Version 2 of the Single UNIX Specification (``SUSv2'').

ERRORS    [Toc]    [Back]

     The pthread_rwlockattr_destroy() function may fail if:

     [EINVAL]		The value specified by attr is invalid.

HISTORY    [Toc]    [Back]

     The pthread_rwlockattr_destroy() function first appeared in FreeBSD 3.0.


FreeBSD 5.2.1			August 4, 1998			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
tis_read_trylock Tru64 Attempts to acquire a read-write lock for read access and does not wait if the lock cannot be immedi...
pthread_rwlock_wrlock IRIX lock a read-write lock object for writing
pthread_rwlock_rdlock IRIX lock a read-write lock object for reading
tis_write_unlock Tru64 Unlocks the specified read-write lock that was acquired for write access
tis_read_unlock Tru64 Unlocks a read-write lock that was acquired for read access
pthread_rwlock_wrlock Tru64 Acquires a read-write lock for write access
tis_write_lock Tru64 Acquires the specified read-write lock for write access
tis_read_lock Tru64 Acquires a read-write lock for read access
pthread_rwlock_rdlock Tru64 Acquires a read-write lock for read access
pthread_rwlock_unlock FreeBSD release a read/write lock
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service