summaryrefslogtreecommitdiff
path: root/lib/libpthread/man/sem_init.3
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-02-20 05:29:38 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-02-20 05:29:38 +0000
commit989d27a5faecde943cdebfabc8dbb8755c9f53fc (patch)
treefd6c03aced00bd370facfebb127912a1f8f47d6b /lib/libpthread/man/sem_init.3
parent0e093757b579f94ee34e092307aae2311dd8337b (diff)
fix includes and some cleanup.
Diffstat (limited to 'lib/libpthread/man/sem_init.3')
-rw-r--r--lib/libpthread/man/sem_init.37
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libpthread/man/sem_init.3 b/lib/libpthread/man/sem_init.3
index 9098d907822..4e301c0b2e6 100644
--- a/lib/libpthread/man/sem_init.3
+++ b/lib/libpthread/man/sem_init.3
@@ -1,4 +1,5 @@
-.\" $OpenBSD: sem_init.3,v 1.1 2002/01/28 19:24:03 fgsch Exp $
+.\" $OpenBSD: sem_init.3,v 1.2 2002/02/20 05:29:37 fgsch Exp $
+.\"
.\" Copyright (C) 2000 Jason Evans <jasone@FreeBSD.org>.
.\" All rights reserved.
.\"
@@ -33,10 +34,8 @@
.Sh NAME
.Nm sem_init
.Nd initialize an unnamed semaphore
-.\" .Sh LIBRARY
-.\" .Lb libc_r
.Sh SYNOPSIS
-.In semaphore.h
+.Fd #include <semaphore.h>
.Ft int
.Fn sem_init "sem_t *sem" "int pshared" "unsigned int value"
.Sh DESCRIPTION