X-Git-Url: https://git.saurik.com/apple/libpthread.git/blobdiff_plain/f1a1da6cf65a9d0e6858678f6c259025cf5d27fd..HEAD:/man/pthread_rwlockattr_destroy.3?ds=sidebyside diff --git a/man/pthread_rwlockattr_destroy.3 b/man/pthread_rwlockattr_destroy.3 index 3d45228..22badb5 100644 --- a/man/pthread_rwlockattr_destroy.3 +++ b/man/pthread_rwlockattr_destroy.3 @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc_r/man/pthread_rwlockattr_destroy.3,v 1.6 2001/10/01 16:09:09 ru Exp $ +.\" $FreeBSD$ .\" .Dd August 4, 1998 .Dt PTHREAD_RWLOCKATTR_DESTROY 3 @@ -33,36 +33,36 @@ .Sh SYNOPSIS .In pthread.h .Ft int -.Fo pthread_rwlockattr_destroy -.Fa "pthread_rwlockattr_t *attr" -.Fc +.Fn pthread_rwlockattr_destroy "pthread_rwlockattr_t *attr" .Sh DESCRIPTION The .Fn pthread_rwlockattr_destroy -function is used to destroy a read/write lock attribute object, +function is used to destroy a read/write lock attribute object previously created with .Fn pthread_rwlockattr_init . .Sh RETURN VALUES If successful, the .Fn pthread_rwlockattr_destroy function will return zero. -Otherwise, an error number will be returned to indicate the error. -.Sh SEE ALSO -.Xr pthread_rwlockattr_init 3 -.Sh STANDARDS -The -.Fn pthread_rwlockattr_destroy -function is expected to conform to -.St -susv2 . +Otherwise an error number will be returned +to indicate the error. .Sh ERRORS +The .Fn pthread_rwlockattr_destroy -may fail if: +function may fail if: .Bl -tag -width Er .It Bq Er EINVAL The value specified by .Fa attr is invalid. .El +.Sh SEE ALSO +.Xr pthread_rwlockattr_init 3 +.Sh STANDARDS +The +.Fn pthread_rwlockattr_destroy +function is expected to conform to +.St -susv2 . .Sh HISTORY The .Fn pthread_rwlockattr_destroy