Loading...
--- Libc/Libc-262/pthreads/pthread_mutex_destroy.3
+++ Libc/Libc-583/pthreads/pthread_mutex_destroy.3
@@ -36,7 +36,9 @@
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
-.Fn pthread_mutex_destroy "pthread_mutex_t *mutex"
+.Fo pthread_mutex_destroy
+.Fa "pthread_mutex_t *mutex"
+.Fc
.Sh DESCRIPTION
The
.Fn pthread_mutex_destroy
@@ -45,19 +47,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 a 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 ,