diff options
author | 2002-02-20 05:29:37 +0000 | |
---|---|---|
committer | 2002-02-20 05:29:37 +0000 | |
commit | a72c0c24473f2274fe7caa224594458dac3e2934 (patch) | |
tree | aff9977ddaff97178f6854e52f14ed5627a7c851 /lib/libpthread/man | |
parent | pthread_kill() manpage; from FreeBSD. (diff) | |
download | wireguard-openbsd-a72c0c24473f2274fe7caa224594458dac3e2934.tar.xz wireguard-openbsd-a72c0c24473f2274fe7caa224594458dac3e2934.zip |
fix includes and some cleanup.
Diffstat (limited to 'lib/libpthread/man')
-rw-r--r-- | lib/libpthread/man/sem_destroy.3 | 7 | ||||
-rw-r--r-- | lib/libpthread/man/sem_getvalue.3 | 7 | ||||
-rw-r--r-- | lib/libpthread/man/sem_init.3 | 7 | ||||
-rw-r--r-- | lib/libpthread/man/sem_open.3 | 7 | ||||
-rw-r--r-- | lib/libpthread/man/sem_post.3 | 7 | ||||
-rw-r--r-- | lib/libpthread/man/sem_wait.3 | 6 |
6 files changed, 17 insertions, 24 deletions
diff --git a/lib/libpthread/man/sem_destroy.3 b/lib/libpthread/man/sem_destroy.3 index 57acf57f418..692ed5a23b8 100644 --- a/lib/libpthread/man/sem_destroy.3 +++ b/lib/libpthread/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/libpthread/man/sem_getvalue.3 b/lib/libpthread/man/sem_getvalue.3 index 4b76fddd9ac..244548aa321 100644 --- a/lib/libpthread/man/sem_getvalue.3 +++ b/lib/libpthread/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/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 diff --git a/lib/libpthread/man/sem_open.3 b/lib/libpthread/man/sem_open.3 index de447dd4c3e..07c40f6fc1d 100644 --- a/lib/libpthread/man/sem_open.3 +++ b/lib/libpthread/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/libpthread/man/sem_post.3 b/lib/libpthread/man/sem_post.3 index fb57cc7c125..ddba637243a 100644 --- a/lib/libpthread/man/sem_post.3 +++ b/lib/libpthread/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/libpthread/man/sem_wait.3 b/lib/libpthread/man/sem_wait.3 index 11c8ea89d74..3ead247bd20 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.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 |