diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-02-20 05:29:38 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-02-20 05:29:38 +0000 |
commit | 989d27a5faecde943cdebfabc8dbb8755c9f53fc (patch) | |
tree | fd6c03aced00bd370facfebb127912a1f8f47d6b /lib/libc_r | |
parent | 0e093757b579f94ee34e092307aae2311dd8337b (diff) |
fix includes and some cleanup.
Diffstat (limited to 'lib/libc_r')
-rw-r--r-- | lib/libc_r/man/sem_destroy.3 | 7 | ||||
-rw-r--r-- | lib/libc_r/man/sem_getvalue.3 | 7 | ||||
-rw-r--r-- | lib/libc_r/man/sem_init.3 | 7 | ||||
-rw-r--r-- | lib/libc_r/man/sem_open.3 | 7 | ||||
-rw-r--r-- | lib/libc_r/man/sem_post.3 | 7 | ||||
-rw-r--r-- | lib/libc_r/man/sem_wait.3 | 6 |
6 files changed, 17 insertions, 24 deletions
diff --git a/lib/libc_r/man/sem_destroy.3 b/lib/libc_r/man/sem_destroy.3 index 57acf57f418..692ed5a23b8 100644 --- a/lib/libc_r/man/sem_destroy.3 +++ b/lib/libc_r/man/sem_destroy.3 @@ -1,4 +1,5 @@ -.\" $OpenBSD: sem_destroy.3,v 1.1 2002/01/28 19:24:03 fgsch Exp $ +.\" $OpenBSD: sem_destroy.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_destroy .Nd destroy an unnamed semaphore -.\" .Sh LIBRARY -.\" .Lb libc_r .Sh SYNOPSIS -.In semaphore.h +.Fd #include <semaphore.h> .Ft int .Fn sem_destroy "sem_t *sem" .Sh DESCRIPTION diff --git a/lib/libc_r/man/sem_getvalue.3 b/lib/libc_r/man/sem_getvalue.3 index 4b76fddd9ac..244548aa321 100644 --- a/lib/libc_r/man/sem_getvalue.3 +++ b/lib/libc_r/man/sem_getvalue.3 @@ -1,4 +1,5 @@ -.\" $OpenBSD: sem_getvalue.3,v 1.1 2002/01/28 19:24:03 fgsch Exp $ +.\" $OpenBSD: sem_getvalue.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_getvalue .Nd get the value of a semaphore -.\" .Sh LIBRARY -.\" .Lb libc_r .Sh SYNOPSIS -.In semaphore.h +.Fd #include <semaphore.h> .Ft int .Fn sem_getvalue "sem_t *sem" "int *sval" .Sh DESCRIPTION diff --git a/lib/libc_r/man/sem_init.3 b/lib/libc_r/man/sem_init.3 index 9098d907822..4e301c0b2e6 100644 --- a/lib/libc_r/man/sem_init.3 +++ b/lib/libc_r/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 diff --git a/lib/libc_r/man/sem_open.3 b/lib/libc_r/man/sem_open.3 index de447dd4c3e..07c40f6fc1d 100644 --- a/lib/libc_r/man/sem_open.3 +++ b/lib/libc_r/man/sem_open.3 @@ -1,4 +1,5 @@ -.\" $OpenBSD: sem_open.3,v 1.1 2002/01/28 19:24:03 fgsch Exp $ +.\" $OpenBSD: sem_open.3,v 1.2 2002/02/20 05:29:37 fgsch Exp $ +.\" .\" Copyright (C) 2000 Jason Evans <jasone@FreeBSD.org>. .\" All rights reserved. .\" @@ -35,10 +36,8 @@ .Nm sem_close , .Nm sem_unlink .Nd named semaphore operations -.\" .Sh LIBRARY -.\" .Lb libc_r .Sh SYNOPSIS -.In semaphore.h +.Fd #include <semaphore.h> .Ft sem_t * .Fn sem_open "const char *name" "int oflag" "..." .Ft int diff --git a/lib/libc_r/man/sem_post.3 b/lib/libc_r/man/sem_post.3 index fb57cc7c125..ddba637243a 100644 --- a/lib/libc_r/man/sem_post.3 +++ b/lib/libc_r/man/sem_post.3 @@ -1,4 +1,5 @@ -.\" $OpenBSD: sem_post.3,v 1.1 2002/01/28 19:24:03 fgsch Exp $ +.\" $OpenBSD: sem_post.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_post .Nd increment (unlock) a semaphore -.\" .Sh LIBRARY -.\" .Lb libc_r .Sh SYNOPSIS -.In semaphore.h +.Fd #include <semaphore.h> .Ft int .Fn sem_post "sem_t *sem" .Sh DESCRIPTION diff --git a/lib/libc_r/man/sem_wait.3 b/lib/libc_r/man/sem_wait.3 index 11c8ea89d74..3ead247bd20 100644 --- a/lib/libc_r/man/sem_wait.3 +++ b/lib/libc_r/man/sem_wait.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sem_wait.3,v 1.2 2002/02/19 00:57:09 fgsch Exp $ +.\" $OpenBSD: sem_wait.3,v 1.3 2002/02/20 05:29:37 fgsch Exp $ .\" .\" Copyright (C) 2000 Jason Evans <jasone@FreeBSD.org>. .\" All rights reserved. @@ -35,10 +35,8 @@ .Nm sem_wait , .Nm sem_trywait .Nd decrement (lock) a semaphore -.\" .Sh LIBRARY -.\" .Lb libc_r .Sh SYNOPSIS -.In semaphore.h +.Fd #include <semaphore.h> .Ft int .Fn sem_wait "sem_t *sem" .Ft int |