Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getuid(II) — UNIX 6th Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

setuid (II)

GETUID(II)  −  PWB/UNIX 5/15/74

NAME

getuid  −  get user identifications

SYNOPSIS

(getuid = 24.) 
sys getuid getuid( )

DESCRIPTION

Getuid returns a word (in r0), the low byte of which contains the real user ID of the current process.  The high byte contains the effective user ID of the current process.  The real user ID identifies the person who is logged in, in contradistinction to the effective user ID, which determines his access permission at the moment.  It is thus useful to programs which operate using the “set user ID” mode, to find out who invoked them. 

SEE ALSO

setuid (II)

DIAGNOSTICS

−

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