summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/man
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2005-02-09 19:33:24 +0000
committerjmc <jmc@openbsd.org>2005-02-09 19:33:24 +0000
commit1ad1b766f057ea36f255eedc9033d8d4313771c6 (patch)
tree0c7dfd060ce3aefb455c18ab8fb0d9a18e37d41a /lib/libpthread/man
parentFix interface fsm by inserting dummy events and actions as placeholder (diff)
downloadwireguard-openbsd-1ad1b766f057ea36f255eedc9033d8d4313771c6.tar.xz
wireguard-openbsd-1ad1b766f057ea36f255eedc9033d8d4313771c6.zip
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