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

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

Contents


PTHREAD_RWLOCKATTR_DESTROYOpenBSD  Programmer's MaPTHREAD_RWLOCKATTR_DESTROY(3)

NAME    [Toc]    [Back]

     pthread_rwlockattr_destroy - destroy a read/write lock

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.

ERRORS    [Toc]    [Back]

     pthread_rwlockattr_destroy() may fail if:

     [EINVAL]      The value specified by attr is invalid.

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.

HISTORY    [Toc]    [Back]

     The  pthread_rwlockattr_destroy() function first appeared in
FreeBSD 3.0
     and OpenBSD 2.5.

OpenBSD     3.6                          August      4,      1998
[ 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