summaryrefslogtreecommitdiff
path: root/lib/libpthread/man
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-02-09 19:33:25 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-02-09 19:33:25 +0000
commit994c9a63c67562f4484a3c68afcd5f82b9646136 (patch)
tree4503af996667846b6df8cdd3a6fe537ea4eb3151 /lib/libpthread/man
parent8fec66e0bb88516c21cbc71b5de4d89cd89887ec (diff)
document [EBUSY];
from freebsd pr #73887; ok marc@
Diffstat (limited to 'lib/libpthread/man')
-rw-r--r--lib/libpthread/man/pthread_mutex_lock.36
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libpthread/man/pthread_mutex_lock.3 b/lib/libpthread/man/pthread_mutex_lock.3
index d506ce0d0fa..4167e0addc5 100644
--- a/lib/libpthread/man/pthread_mutex_lock.3
+++ b/lib/libpthread/man/pthread_mutex_lock.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthread_mutex_lock.3,v 1.6 2002/02/21 20:12:19 fgsch Exp $
+.\" $OpenBSD: pthread_mutex_lock.3,v 1.7 2005/02/09 19:33:24 jmc Exp $
.\"
.\" Copyright (c) 1997 Brian Cully <shmit@kublai.com>
.\" All rights reserved.
@@ -55,6 +55,10 @@ indicate the error.
.Fn pthread_mutex_lock
will fail if:
.Bl -tag -width Er
+.It Bq Er EBUSY
+Currently
+.Fa mutex
+is locked by another thread.
.It Bq Er EINVAL
The value specified by
.Fa mutex