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