Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getuid(2) — DYNIX/ptx 3.2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getgid(2)

setreuid(2)

GETUID(2)  —  UNIX Programmer’s Manual

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, geteuid the effective user ID. 

Getuid returns the effective ID of the process that invoked it.  The effective user ID gives the process additional permissions during execution of “set-user-ID” mode processes. 

SEE ALSO

getgid(2), setreuid(2)

4BSD

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026