Module Name: src
Committed By: wiz
Date: Thu Jul 8 21:34:06 UTC 2010
Modified Files:
src/lib/libpthread: pthread_cond.3
Log Message:
Sort errors.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libpthread/pthread_cond.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libpthread/pthread_cond.3
diff -u src/lib/libpthread/pthread_cond.3:1.1 src/lib/libpthread/pthread_cond.3:1.2
--- src/lib/libpthread/pthread_cond.3:1.1 Thu Jul 8 19:20:20 2010
+++ src/lib/libpthread/pthread_cond.3 Thu Jul 8 21:34:06 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_cond.3,v 1.1 2010/07/08 19:20:20 rmind Exp $
+.\" $NetBSD: pthread_cond.3,v 1.2 2010/07/08 21:34:06 wiz Exp $
.\"
.\" Copyright (c) 2002, 2008 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -254,13 +254,13 @@
.Bl -tag -width Er
.It Bq Er EAGAIN
The system lacks the resources to initialize another condition variable.
-.It Bq Er ENOMEM
-The process cannot allocate enough memory to initialize another condition
-variable.
.It Bq Er EINVAL
The value specified by
.Fa attr
is invalid.
+.It Bq Er ENOMEM
+The process cannot allocate enough memory to initialize another condition
+variable.
.El
.Pp
.\" -----
@@ -304,9 +304,6 @@
.Fn pthread_cond_timedwait
may fail if:
.Bl -tag -width Er
-.It Bq Er ETIMEDOUT
-The system time has reached or exceeded the time specified in
-.Fa abstime .
.It Bq Er EINVAL
The value specified by
.Fa cond ,
@@ -314,6 +311,9 @@
or
.Fa abstime
is invalid.
+.It Bq Er ETIMEDOUT
+The system time has reached or exceeded the time specified in
+.Fa abstime .
.El
.Pp
.Fn pthread_cond_wait