Loading...
pthreads/pthread_mutex_destroy.3 Libc-498 Libc-262
--- Libc/Libc-498/pthreads/pthread_mutex_destroy.3
+++ Libc/Libc-262/pthreads/pthread_mutex_destroy.3
@@ -36,9 +36,7 @@
 .Sh SYNOPSIS
 .Fd #include <pthread.h>
 .Ft int
-.Fo pthread_mutex_destroy
-.Fa "pthread_mutex_t *mutex"
-.Fc
+.Fn pthread_mutex_destroy "pthread_mutex_t *mutex"
 .Sh DESCRIPTION
 The
 .Fn pthread_mutex_destroy
@@ -47,19 +45,19 @@
 .Sh RETURN VALUES
 If successful,
 .Fn pthread_mutex_destroy
-will return zero.
-Otherwise, an error number will be returned to indicate the error.
+will return zero, otherwise an error number will be returned to
+indicate the error.
 .Sh ERRORS
 .Fn pthread_mutex_destroy
 will fail if:
 .Bl -tag -width Er
-.It Bq Er EBUSY
-.Fa Mutex
-is locked by another thread.
 .It Bq Er EINVAL
 The value specified by
 .Fa mutex
 is invalid.
+.It Bq Er EBUSY
+.Fa Mutex
+is locked by another thread.
 .El
 .Sh SEE ALSO
 .Xr pthread_mutex_init 3 ,