GETUID(2)
NAME
getuid, geteuid, getgid, getegid − get real user, effective user, real group, and effective group IDs
SYNOPSIS
unsigned short getuid ()
unsigned short geteuid ()
unsigned short getgid ()
unsigned short getegid ()
HP-UX COMPATIBILITY
Level: HP-UX/RUN ONLY
Origin: System V
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
Hewlett-Packard — last mod. May 11, 2021