summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-03-14 10:22:34 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-03-14 10:22:34 +0000
commit1a817cd09fcf441335ed3a891ceb84515b8c9d8c (patch)
treeedf64f91ba3a7880f13018d4605b86adb178553c /lib/libpthread
parent7f807ec09bc5ec8eb5ca8eaea13aaff8bcc0c0cd (diff)
document that sigwait() needs to be linked with -pthread;
from Mike Neuman; closes PR 3030 ok marc@
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/man/sigwait.310
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libpthread/man/sigwait.3 b/lib/libpthread/man/sigwait.3
index 56f7576c4a2..8bb2c0d08af 100644
--- a/lib/libpthread/man/sigwait.3
+++ b/lib/libpthread/man/sigwait.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sigwait.3,v 1.11 2002/04/30 16:31:42 mpech Exp $
+.\" $OpenBSD: sigwait.3,v 1.12 2003/03/14 10:22:33 jmc Exp $
.\"
.\" David Leonard <d@openbsd.org>, 1998. Public domain.
.Dd August 20, 1998
@@ -48,6 +48,14 @@ with the signal number.
Which thread returns from
.Fn sigwait
if more than a single thread is waiting is unspecified.
+.Pp
+.Sy Note:
+Code using the
+.Fn sigwait
+function must be compiled and linked with the
+.Cm -pthread
+option to
+.Xr gcc 1 .
.Sh RETURN VALUES
Upon successful completion,
.Fn sigwait