getuid(2)getuid(2)NAME
getuid, geteuid, getgid, getegid - get real user, effective user, real
group, and effective group IDs
SYNOPSISDESCRIPTION
The following functions return the information indicated:
Real-user- ID of the calling process.
Effective-user- ID of the calling process.
Real-group- ID of the calling process.
Effective-group- ID of the calling process.
No means is available for ascertaining the saved-user-ID or saved-
group-ID of a process.
SEE ALSOsetuid(2).
STANDARDS CONFORMANCEgetuid(2)