Loading...
pthreads/pthread_mutex_trylock.3 Libc-498 Libc-391
--- Libc/Libc-498/pthreads/pthread_mutex_trylock.3
+++ Libc/Libc-391/pthreads/pthread_mutex_trylock.3
@@ -36,9 +36,7 @@
 .Sh SYNOPSIS
 .Fd #include <pthread.h>
 .Ft int
-.Fo pthread_mutex_trylock
-.Fa "pthread_mutex_t *mutex"
-.Fc
+.Fn pthread_mutex_trylock "pthread_mutex_t *mutex"
 .Sh DESCRIPTION
 The
 .Fn pthread_mutex_trylock
@@ -50,19 +48,19 @@
 .Sh RETURN VALUES
 If successful,
 .Fn pthread_mutex_trylock
-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_trylock
 will fail if:
 .Bl -tag -width Er
-.It Bq Er EBUSY
-.Fa Mutex
-is already locked.
 .It Bq Er EINVAL
 The value specified by
 .Fa mutex
 is invalid.
+.It Bq Er EBUSY
+.Fa Mutex
+is already locked.
 .El
 .Sh SEE ALSO
 .Xr pthread_mutex_destroy 3 ,