gid_t geteuid(void);
Returns the effective user ID of the current process.
getuid, setuid, seteuid, setreuid