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

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

Contents


PTHREAD_MUTEX_DESTR... FreeBSD Library Functions Manual PTHREAD_MUTEX_DESTR...

NAME    [Toc]    [Back]

     pthread_mutex_destroy -- free resources allocated for a mutex

LIBRARY    [Toc]    [Back]

     Reentrant C Library (libc_r, -lc_r)

SYNOPSIS    [Toc]    [Back]

     #include <pthread.h>

     int
     pthread_mutex_destroy(pthread_mutex_t *mutex);

DESCRIPTION    [Toc]    [Back]

     The pthread_mutex_destroy() function frees the resources allocated for
     mutex.

RETURN VALUES    [Toc]    [Back]

     If successful, pthread_mutex_destroy() will return zero, otherwise an
     error number will be returned to indicate the error.

ERRORS    [Toc]    [Back]

     The pthread_mutex_destroy() function will fail if:

     [EINVAL]		The value specified by mutex is invalid.

     [EBUSY]		Mutex is locked by another thread.

SEE ALSO    [Toc]    [Back]

      
      
     pthread_mutex_init(3), pthread_mutex_lock(3), pthread_mutex_trylock(3),
     pthread_mutex_unlock(3)

STANDARDS    [Toc]    [Back]

     The pthread_mutex_destroy() function conforms to ISO/IEC 9945-1:1996
     (``POSIX.1'').


FreeBSD 5.2.1			 July 29, 1998			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
cfree FreeBSD free up allocated memory
SSL_free Tru64 Free an allocated SSL structure
SSL_free OpenBSD free an allocated SSL structure
SSL_free NetBSD free an allocated SSL structure
mint_free IRIX free allocated memory
acl_free IRIX free allocated memory
mac_free IRIX free allocated memory
msen_free IRIX free allocated memory
cap_free IRIX free allocated capability
SSL_CTX_free NetBSD free an allocated SSL_CTX object
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service