summaryrefslogtreecommitdiffstats
path: root/lib/libc/compat-43
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-08-31 09:57:38 +0000
committerru <ru@FreeBSD.org>2001-08-31 09:57:38 +0000
commit69224c0edd32d46efbcdb9ad329891e820f0898a (patch)
tree65bbba65df60768dc6db7a914e08a7bc71bc3e5a /lib/libc/compat-43
parent0cdbf7e134168f454f352752441a010d764e8cd0 (diff)
downloadFreeBSD-src-69224c0edd32d46efbcdb9ad329891e820f0898a.zip
FreeBSD-src-69224c0edd32d46efbcdb9ad329891e820f0898a.tar.gz
Use ``.Rv -std'' wherever possible.
Submitted by: yar
Diffstat (limited to 'lib/libc/compat-43')
-rw-r--r--lib/libc/compat-43/setruid.316
1 files changed, 9 insertions, 7 deletions
diff --git a/lib/libc/compat-43/setruid.3 b/lib/libc/compat-43/setruid.3
index b90656b..465d81e 100644
--- a/lib/libc/compat-43/setruid.3
+++ b/lib/libc/compat-43/setruid.3
@@ -55,13 +55,15 @@ function
sets the real user ID (group ID) of the
current process.
.Sh RETURN VALUES
-Upon success, these functions return 0;
-otherwise \-1 is returned.
-.Pp
-If the user is not the super user, or the uid
-specified is not the real or effective ID, these
-functions return \-1.
-.Pp
+.Rv -std
+.Sh ERRORS
+The functions fail if:
+.Bl -tag -width Er
+.It Bq Er EPERM
+The user is not the super user and the ID
+specified is not the real or effective ID.
+.El
+.Sh COMPATIBILITY
The use of these calls is not portable.
Their use is discouraged; they will be removed in the future.
.Sh SEE ALSO
OpenPOWER on IntegriCloud