GETUID(S) XENIX System V GETUID(S)
Name
getuid, geteuid, getgid, getegid - Gets real user, effective
user, real group, and effective group IDs.
Syntax
unsigned short getuid ()
unsigned short geteuid ()
unsigned short getgid ()
unsigned short 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
intro(S), setuid(S)
Page 1 (printed 8/7/87)