seteuid(SLIB) 6 January 1993 seteuid(SLIB) Name seteuid, setegid - set user and group ID Syntax seteuid(euid) setegid(egid) Description seteuid (setegid) sets the effective user ID (group ID) of the current process. These calls are only permitted to the super-user or if the argument is the real or effective ID. Diagnostics Zero is returned if the user (group) ID is set; -1 is returned otherwise, with the global variable errno set as for setreuid or setregid. See also setregid(SSC), setreuid(SSC), getgid(S) and getuid(S).