summaryrefslogtreecommitdiffstats
path: root/lib/libc_r
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2001-08-09 13:32:13 +0000
committeryar <yar@FreeBSD.org>2001-08-09 13:32:13 +0000
commit27b7f2d4e7c579a6e7166e44aab5e0ed6a66a032 (patch)
tree251e4417acf32d993acd2d301d7ead7122c562cf /lib/libc_r
parent4b2c641db11eb15a0fbaa9f9507781a0cec98421 (diff)
downloadFreeBSD-src-27b7f2d4e7c579a6e7166e44aab5e0ed6a66a032.zip
FreeBSD-src-27b7f2d4e7c579a6e7166e44aab5e0ed6a66a032.tar.gz
Use the ``.Rv -std'' mdoc(7) macro in appropriate cases.
Reviewed by: ru
Diffstat (limited to 'lib/libc_r')
-rw-r--r--lib/libc_r/man/sem_destroy.37
-rw-r--r--lib/libc_r/man/sem_getvalue.37
-rw-r--r--lib/libc_r/man/sem_init.37
-rw-r--r--lib/libc_r/man/sem_post.37
4 files changed, 4 insertions, 24 deletions
diff --git a/lib/libc_r/man/sem_destroy.3 b/lib/libc_r/man/sem_destroy.3
index 0de4691..29e9bd8 100644
--- a/lib/libc_r/man/sem_destroy.3
+++ b/lib/libc_r/man/sem_destroy.3
@@ -49,12 +49,7 @@ After a successful call to
is unuseable until re-initialized by another call to
.Fn sem_init .
.Sh RETURN VALUES
-If successful,
-.Fn sem_destroy
-returns 0. Otherwise, -1 is returned and
-.Va errno
-is set to indicate the type of
-error.
+.Rv -std sem_destroy
.Sh ERRORS
.Fn sem_destroy
will fail if:
diff --git a/lib/libc_r/man/sem_getvalue.3 b/lib/libc_r/man/sem_getvalue.3
index 3ee947a..98674e6 100644
--- a/lib/libc_r/man/sem_getvalue.3
+++ b/lib/libc_r/man/sem_getvalue.3
@@ -49,12 +49,7 @@ as of the time that the call to
.Fn sem_getvalue
is actually run.
.Sh RETURN VALUES
-If successful,
-.Fn sem_getvalue
-returns 0. Otherwise, -1 is returned and
-.Va errno
-is set to indicate the type of
-error.
+.Rv -std sem_getvalue
.Sh ERRORS
.Fn sem_getvalue
will fail if:
diff --git a/lib/libc_r/man/sem_init.3 b/lib/libc_r/man/sem_init.3
index 5f43c08..87068ad 100644
--- a/lib/libc_r/man/sem_init.3
+++ b/lib/libc_r/man/sem_init.3
@@ -63,12 +63,7 @@ and
is no longer valid after a successful call to
.Fa sem_destroy .
.Sh RETURN VALUES
-If successful,
-.Fn sem_init
-returns 0. Otherwise, -1 is returned and
-.Va errno
-is set to indicate the type of
-error.
+.Rv -std sem_init
.Sh ERRORS
.Fn sem_init
will fail if:
diff --git a/lib/libc_r/man/sem_post.3 b/lib/libc_r/man/sem_post.3
index 0c8dea4..bc0a031 100644
--- a/lib/libc_r/man/sem_post.3
+++ b/lib/libc_r/man/sem_post.3
@@ -52,12 +52,7 @@ the semaphore will be allowed to return from
.Fn sem_post
is signal-reentrant and may be called within signal handlers.
.Sh RETURN VALUES
-If successful,
-.Fn sem_post
-returns 0. Otherwise, -1 is returned and
-.Va errno
-is set to indicate the type of
-error.
+.Rv -std sem_post
.Sh ERRORS
.Fn sem_post
will fail if:
OpenPOWER on IntegriCloud