summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-02-09 12:47:23 +0000
committerru <ru@FreeBSD.org>2001-02-09 12:47:23 +0000
commitcc4427cd1a64dd27f49e303d9b2428737d74943d (patch)
treec9bbd9bbe120ccc951ec807ece651325011fec47 /lib
parentd0b63937920859ee0e970dd88c238886c9560407 (diff)
downloadFreeBSD-src-cc4427cd1a64dd27f49e303d9b2428737d74943d.zip
FreeBSD-src-cc4427cd1a64dd27f49e303d9b2428737d74943d.tar.gz
mdoc(7) police: prevent generation of the extra
whitespace after ``i.e.'', use .Rv, update .Dd.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/setreuid.29
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/sys/setreuid.2 b/lib/libc/sys/setreuid.2
index 231c747..af8965f 100644
--- a/lib/libc/sys/setreuid.2
+++ b/lib/libc/sys/setreuid.2
@@ -32,7 +32,7 @@
.\" @(#)setreuid.2 8.2 (Berkeley) 4/16/94
.\" $FreeBSD$
.\"
-.Dd April 16, 1994
+.Dd February 8, 2001
.Dt SETREUID 2
.Os BSD 4
.Sh NAME
@@ -56,7 +56,7 @@ Unprivileged users may change the real user
ID to the effective user ID and vice-versa; only the super-user may
make other changes.
.Pp
-If the real user ID is changed (i.e.
+If the real user ID is changed (i.e.\&
.Fa ruid
is not -1) or the effective user ID is changed to something other than
the real user ID, then the saved user ID will be set to the effective user ID.
@@ -75,10 +75,7 @@ the standard
.Fn setuid
function is preferred.
.Sh RETURN VALUES
-Upon successful completion, a value of 0 is returned. Otherwise,
-a value of -1 is returned and
-.Va errno
-is set to indicate the error.
+.Rv -std setreuid
.Sh ERRORS
.Bl -tag -width Er
.It Bq Er EPERM
OpenPOWER on IntegriCloud