Loading...
pthreads/pthread_rwlock_destroy.3 Libc-498 Libc-320
--- Libc/Libc-498/pthreads/pthread_rwlock_destroy.3
+++ Libc/Libc-320/pthreads/pthread_rwlock_destroy.3
@@ -33,9 +33,7 @@
 .Sh SYNOPSIS
 .In pthread.h
 .Ft int
-.Fo pthread_rwlock_destroy
-.Fa "pthread_rwlock_t *rwlock"
-.Fc
+.Fn pthread_rwlock_destroy "pthread_rwlock_t *lock"
 .Sh DESCRIPTION
 The
 .Fn pthread_rwlock_destroy
@@ -44,8 +42,8 @@
 .Sh RETURN VALUES
 If successful, the
 .Fn pthread_rwlock_destroy
-function will return zero.
-Otherwise, an error number will be returned to indicate the error.
+function will return zero.  Otherwise an error number will be returned
+to indicate the error.
 .Sh SEE ALSO
 .Xr pthread_rwlock_init 3
 .Sh STANDARDS
@@ -68,11 +66,11 @@
 .Bl -tag -width Er
 .It Bq Er EBUSY
 The system has detected an attempt to destroy the object referenced by
-.Fa rwlock
+.Fa lock
 while it is locked.
 .It Bq Er EINVAL
 The value specified by
-.Fa rwlock
+.Fa lock
 is invalid.
 .El
 .Sh HISTORY