Manual Pages for UNIX Darwin command on man pthread_rwlockattr_destroy
MyWebUniversity

Manual Pages for UNIX Darwin command on man pthread_rwlockattr_destroy

PTHREADRWLOCKATTRDE... BSD Library Functions Manual PTHREADRWLOCKATTRDE...

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




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™