aboutsummaryrefslogtreecommitdiffstats
path: root/libselinux/man/man3
diff options
context:
space:
mode:
authorPádraig Brady <P@draigbrady.com>2012-12-04 02:33:02 +0000
committerEric Paris <eparis@redhat.com>2013-02-05 20:14:44 -0500
commit2f624c94c70a1a3dcc0387350030f166d6bb6d56 (patch)
tree88035253f68485e0391fee09bd534044404316cd /libselinux/man/man3
parentbe2d728599c08e5e4a3cf0cebcc4f7876786cd5c (diff)
downloadandroid_external_selinux-2f624c94c70a1a3dcc0387350030f166d6bb6d56.tar.gz
android_external_selinux-2f624c94c70a1a3dcc0387350030f166d6bb6d56.tar.bz2
android_external_selinux-2f624c94c70a1a3dcc0387350030f166d6bb6d56.zip
libselinux: man: context_new(3): fix the return value description
Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>
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.
.