summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2001-08-14 14:20:35 +0000
committeryar <yar@FreeBSD.org>2001-08-14 14:20:35 +0000
commitdeeb90994affa0d72956435908fb98b8f921fd12 (patch)
tree08bea27d2e4b9156ba4a754cb52c44a14ae702b0 /lib/libc/posix1e
parente7702d76b63591efac5034f032cc6070e03a4417 (diff)
downloadFreeBSD-src-deeb90994affa0d72956435908fb98b8f921fd12.zip
FreeBSD-src-deeb90994affa0d72956435908fb98b8f921fd12.tar.gz
Use the ".Rv" mdoc(7) macro where appropriate.
Reviewed by: ru
Diffstat (limited to 'lib/libc/posix1e')
-rw-r--r--lib/libc/posix1e/cap_set_flag.37
-rw-r--r--lib/libc/posix1e/cap_set_proc.37
2 files changed, 4 insertions, 10 deletions
diff --git a/lib/libc/posix1e/cap_set_flag.3 b/lib/libc/posix1e/cap_set_flag.3
index ef74d10..4f246d5 100644
--- a/lib/libc/posix1e/cap_set_flag.3
+++ b/lib/libc/posix1e/cap_set_flag.3
@@ -59,13 +59,10 @@ Implementations may place restrictions on the setting of the flags in a capabili
support for POSIX.1e interfaces and features is still under
development at this time.
.Sh RETURN VALUES
-Upon successful completion, this function shall return a value of zero.
-Otherwise, a value of -1 shall be returned, and
-.Ar errno
-shall be set to indicate the error.
+.Rv -std cap_set_flag
The capability state identified by
.Ar cap_p
-shall not be affected if the return value is -1.
+shall not be affected if the function fails.
.Sh ERRORS
If any of the following conditions occur, the
.Fn cap_set_flag
diff --git a/lib/libc/posix1e/cap_set_proc.3 b/lib/libc/posix1e/cap_set_proc.3
index f3dfae3..542340f 100644
--- a/lib/libc/posix1e/cap_set_proc.3
+++ b/lib/libc/posix1e/cap_set_proc.3
@@ -60,14 +60,11 @@ remain unchanged.
support for POSIX.1e interfaces and features is still under
development at this time.
.Sh RETURN VALUES
-Upon successful completion, this function shall return a value of zero.
-Otherwise, a value of -1 shall be returned and
-.Ar errno
-shall be set to indicate the error.
+.Rv -std cap_set_proc
Neither the state represented in the object identified by
.Ar cap_p
nor the capability state of the calling process shall be affected if the
-return value is -1.
+function fails.
.Sh ERRORS
If any of the following conditions occur, the
.Fn cap_set_proc
OpenPOWER on IntegriCloud