aboutsummaryrefslogtreecommitdiffstats
path: root/libselinux/man/man3
diff options
context:
space:
mode:
Diffstat (limited to 'libselinux/man/man3')
-rw-r--r--libselinux/man/man3/context_new.38
1 files changed, 7 insertions, 1 deletions
diff --git a/libselinux/man/man3/context_new.3 b/libselinux/man/man3/context_new.3
index 02574457..3dabac3d 100644
--- a/libselinux/man/man3/context_new.3
+++ b/libselinux/man/man3/context_new.3
@@ -69,7 +69,13 @@ structure.
set a context component.
.
.SH "RETURN VALUE"
-On success, zero is returned. On failure, \-1 is returned and
+On failure
+.BR context_*_set ()
+functions return non-zero and 0 on success.
+
+The other functions return NULL on failure and non-NULL on success.
+
+On failure
.I errno
is set appropriately.
.