Loading...
--- Libc/Libc-583/pthreads/pthread_condattr.3
+++ Libc/Libc-262/pthreads/pthread_condattr.3
@@ -30,19 +30,15 @@
.Dt PTHREAD_CONDATTR 3
.Os
.Sh NAME
-.Nm pthread_condattr_destroy ,
-.Nm pthread_condattr_init
+.Nm pthread_condattr_init ,
+.Nm pthread_condattr_destroy
.Nd condition attribute operations
.Sh SYNOPSIS
.In pthread.h
.Ft int
-.Fo pthread_condattr_destroy
-.Fa "pthread_condattr_t *attr"
-.Fc
+.Fn pthread_condattr_init "pthread_condattr_t *attr"
.Ft int
-.Fo pthread_condattr_init
-.Fa "pthread_condattr_t *attr"
-.Fc
+.Fn pthread_condattr_destroy "pthread_condattr_t *attr"
.Sh DESCRIPTION
Condition attribute objects are used to specify parameters to
.Fn pthread_cond_init .
@@ -63,19 +59,19 @@
If successful, these functions return 0.
Otherwise, an error number is returned to indicate the error.
.Sh ERRORS
+.Fn pthread_condattr_init
+will fail if:
+.Bl -tag -width Er
+.It Bq Er ENOMEM
+Out of memory.
+.El
+.Pp
.Fn pthread_condattr_destroy
will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
Invalid value for
.Fa attr .
-.El
-.Pp
-.Fn pthread_condattr_init
-will fail if:
-.Bl -tag -width Er
-.It Bq Er ENOMEM
-Out of memory.
.El
.Sh SEE ALSO
.Xr pthread_cond_init 3