summaryrefslogtreecommitdiffstats
path: root/lib/libc/compat-43/setruid.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/compat-43/setruid.3')
-rw-r--r--lib/libc/compat-43/setruid.312
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/compat-43/setruid.3 b/lib/libc/compat-43/setruid.3
index 7342b21..32245c1 100644
--- a/lib/libc/compat-43/setruid.3
+++ b/lib/libc/compat-43/setruid.3
@@ -39,7 +39,7 @@
.Nm setrgid
.Nd set user and group ID
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
+.Fd #include <unistd.h>
.Ft int
.Fn setruid "uid_t ruid"
.Ft int
@@ -62,12 +62,12 @@ functions return \-1.
The use of these calls is not portable.
Their use is discouraged; they will be removed in the future.
.Sh SEE ALSO
-.Xr setuid 2 ,
-.Xr setgid 2 ,
-.Xr seteuid 2 ,
-.Xr setegid 2 ,
+.Xr getgid 2 ,
.Xr getuid 2 ,
-.Xr getgid 2
+.Xr setegid 2 ,
+.Xr seteuid 2 ,
+.Xr setgid 2 ,
+.Xr setuid 2
.Sh HISTORY
The
.Fn setruid
OpenPOWER on IntegriCloud