diff options
| author | wiz <wiz@NetBSD.org> | 2010-07-08 21:34:22 +0000 |
|---|---|---|
| committer | wiz <wiz@NetBSD.org> | 2010-07-08 21:34:22 +0000 |
| commit | 5a5247a953e581bf1224accfc53fe75ef292d5bf (patch) | |
| tree | 777e64da78ddb201f3fe8b8acf015a6b3f5b4a2d /lib/libpthread | |
| parent | 75c6ae8ffe9c095a0427338528c06454f5f00431 (diff) | |
Add comma in enumeration, sort errors.
Diffstat (limited to 'lib/libpthread')
| -rw-r--r-- | lib/libpthread/pthread_mutex.3 | 8 | ||||
| -rw-r--r-- | lib/libpthread/pthread_rwlock.3 | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/lib/libpthread/pthread_mutex.3 b/lib/libpthread/pthread_mutex.3 index d18d9670516..d05ecfd0f22 100644 --- a/lib/libpthread/pthread_mutex.3 +++ b/lib/libpthread/pthread_mutex.3 @@ -1,4 +1,4 @@ -.\" $NetBSD: pthread_mutex.3,v 1.3 2010/07/08 20:09:29 jruoho Exp $ +.\" $NetBSD: pthread_mutex.3,v 1.4 2010/07/08 21:34:22 wiz Exp $ .\" .\" Copyright (c) 2002, 2010 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -144,12 +144,12 @@ may fail if: .Bl -tag -width Er .It Bq Er EAGAIN The system lacks the resources to initialize another mutex. -.It Bq Er ENOMEM -The process cannot allocate enough memory to initialize another mutex. .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 mutex. .El .Pp .\" ----- @@ -207,7 +207,7 @@ The current thread does not hold a lock on .Xr pthread 3 , .Xr pthread_barrier 3 , .Xr pthread_cond 3 , -.Xr pthread_mutexattr 3 +.Xr pthread_mutexattr 3 , .Xr pthread_rwlock 3 , .Xr pthread_spin 3 .\" ---------------------------------------------------------------------------- diff --git a/lib/libpthread/pthread_rwlock.3 b/lib/libpthread/pthread_rwlock.3 index 6e8365536f8..3b2f2943033 100644 --- a/lib/libpthread/pthread_rwlock.3 +++ b/lib/libpthread/pthread_rwlock.3 @@ -1,4 +1,4 @@ -.\" $NetBSD: pthread_rwlock.3,v 1.1 2010/07/08 19:20:24 rmind Exp $ +.\" $NetBSD: pthread_rwlock.3,v 1.2 2010/07/08 21:34:48 wiz Exp $ .\" .\" Copyright (c) 2002, 2010 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -210,8 +210,6 @@ function may fail if: .Bl -tag -width Er .It Bq Er EAGAIN The system lacks the resources to initialize another read-write lock. -.It Bq Er ENOMEM -Insufficient memory exists to initialize the read-write lock. .It Bq Er EBUSY The system has detected an attempt to re-initialize the object referenced by @@ -221,6 +219,8 @@ a previously initialized but not yet destroyed read/write lock. The value specified by .Fa attr is invalid. +.It Bq Er ENOMEM +Insufficient memory exists to initialize the read-write lock. .El .Pp .\" ----- @@ -331,7 +331,7 @@ The current thread does not own the read/write lock. .Sh SEE ALSO .Xr pthread 3 , .Xr pthread_barrier 3 , -.Xr pthread_cond 3 +.Xr pthread_cond 3 , .Xr pthread_mutex 3 , .Xr pthread_rwlockattr 3 , .Xr pthread_spin 3 |
