summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/man/sem_wait.3
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2005-07-14 14:10:50 +0000
committerjmc <jmc@openbsd.org>2005-07-14 14:10:50 +0000
commit9c42db4937e45152479e5f1d29fcc98ce79df2ec (patch)
tree20a3ff0d09a5dffc3eb7b74b6b4367255e1ba353 /lib/libpthread/man/sem_wait.3
parentfrom netbsd -r1.4: (diff)
downloadwireguard-openbsd-9c42db4937e45152479e5f1d29fcc98ce79df2ec.tar.xz
wireguard-openbsd-9c42db4937e45152479e5f1d29fcc98ce79df2ec.zip
- make sure sem_ pages reference each other (idea from similar freebsd commit)
- where two functions are documented in the same page, make sure we don;t reference them both in SEE ALSO. kind of annoying to call up a second man page and find it's the same as the last one (even more annoying to not realise two pages are the same till you've finished reading twice ;)...
Diffstat (limited to 'lib/libpthread/man/sem_wait.3')
-rw-r--r--lib/libpthread/man/sem_wait.36
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libpthread/man/sem_wait.3 b/lib/libpthread/man/sem_wait.3
index 00d5a2fe4f3..1e7bd4aee08 100644
--- a/lib/libpthread/man/sem_wait.3
+++ b/lib/libpthread/man/sem_wait.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sem_wait.3,v 1.4 2002/05/01 08:03:30 mpech Exp $
+.\" $OpenBSD: sem_wait.3,v 1.5 2005/07/14 14:10:50 jmc Exp $
.\"
.\" Copyright (C) 2000 Jason Evans <jasone@FreeBSD.org>.
.\" All rights reserved.
@@ -78,6 +78,10 @@ will fail if:
The semaphore value was zero, and thus could not be decremented.
.El
.Sh SEE ALSO
+.Xr sem_destroy 3 ,
+.Xr sem_getvalue 3 ,
+.Xr sem_init 3 ,
+.Xr sem_open 3 ,
.Xr sem_post 3
.Sh STANDARDS
.Fn sem_wait