summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e/cap_set_proc.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/posix1e/cap_set_proc.3')
-rw-r--r--lib/libc/posix1e/cap_set_proc.37
1 files changed, 2 insertions, 5 deletions
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