.TH SETUID 3 "1 April 1983"
setuid, seteuid, setruid, setgid, setegid, setrgid \- set user and group ID
sets both the real and effective
user ID (group ID) of the current process to
sets the effective user ID (group ID) of the
sets the real user ID (group ID) of the
These calls are only permitted to the super-user
or if the argument is the real or effective ID.
setreuid(2), setregid(2), getuid(2), getgid(2)
Zero is returned if the user (group) ID is set;
\-1 is returned otherwise.