GETUID(2) COMMAND REFERENCE GETUID(2) NAME getuid, geteuid - get user identity SYNOPSIS uid = getuid() int uid; euid = geteuid() int euid; DESCRIPTION Getuid returns the real user ID of the current process in uid; geteuid returns the effective user ID in euid. The real user ID identifies the person who is logged in. The effective user ID gives the process additional permissions during execution of "set-user-ID" mode processes, which use getuid to determine the real user ID of the process which invoked them. RETURN VALUE Getuid returns the real user ID; geteuid returns the effective user ID. SEE ALSO getgid(2) and setreuid(2). Printed 5/12/88 1
%%index%% na:288,87; sy:375,572; de:947,791; rv:1738,336; se:2074,169; %%index%%000000000094