|
NAMEpthread_rwlock_destroy —
destroy a read/write lock
LIBRARYPOSIX Threads Library (libpthread, -lpthread)SYNOPSIS#include <pthread.h>
int
DESCRIPTIONThepthread_rwlock_destroy () function is used to destroy
a read/write lock previously created with
pthread_rwlock_init ().
RETURN VALUESIf successful, thepthread_rwlock_destroy () function
will return zero. Otherwise an error number will be returned to indicate the
error.
ERRORSThepthread_rwlock_destroy () function will fail if:
The SEE ALSOpthread_rwlock_init(3)STANDARDSThepthread_rwlock_destroy () function is expected to
conform to Version 2 of the Single UNIX Specification
(“SUSv2”).
HISTORYThepthread_rwlock_destroy () function first appeared in
FreeBSD 3.0.
Visit the GSP FreeBSD Man Page Interface. |