PTHREADRWLOCKATRDE... BSD Library Functions Manual PTHREADRWLOCKATRDE...
NAME
pthreadrwlockattrdestroy -- destroy a read/write lock
SYNOPSIS
##include <>
int
pthreadrwlockattrdestroy(pthreadrwlockattrt *attr);
DESCRIPTION
The pthreadrwlockattrdestroy() function is used to destroy a read/write
lock attribute object previously created with pthreadrwlockattrinit().
RETURN VALUES
If successful, the pthreadrwlockattrdestroy() function will return
zero. Otherwise an error number will be returned to indicate the error.
SEE ALSO
pthreadrwlockattrinit(3)
STANDARDS
The pthreadrwlockattrdestroy() function is expected to conform to
Version 2 of the Single UNIX Specification (``SUSv2'').
ERORS
pthreadrwlockattrdestroy() may fail if:
[EINVAL] The value specified by attr is invalid.
HISTORY
The pthreadrwlockattrdestroy() function first appeared in FreeBSD 3.0.
BSD August 4, 1998 BSD
|