GETUID(2) — Silicon Graphics
NAME
getuid, geteuid, getgid, getegid − get real user, effective user, real group, and effective group IDs
SYNOPSIS
int getuid ()
int geteuid ()
int getgid ()
int getegid ()
DESCRIPTION
Getuid returns the real user ID of the calling process.
Geteuid returns the effective user ID of the calling process.
Getgid returns the real group ID of the calling process.
Getegid returns the effective group ID of the calling process.
SEE ALSO
ASSEMBLER
moveq#24,D0| sys getuid
trap#0
Real user ID returned in D0.
moveq#24,D0| sys geteuid
trap#0
Effective user ID returned in D1.
moveq#47,D0| sys getgid
trap#0
Real group ID returned in D0.
moveq#47,D0| sys getegid
trap#0
Effective group ID returned in D1.
Version 2.4 — May 08, 1986