GETUID(2,L) AIX Technical Reference GETUID(2,L)
-------------------------------------------------------------------------------
getuid, geteuid, getgid, getegid
PURPOSE
Gets the real user, effective user, real group, and effective group IDs.
LIBRARY
Standard C Library (libc.a)
SYNTAX
uid_t getuid ( ) uid_t getgid ( )
uid_t geteuid ( ) uid_t getegid ( )
DESCRIPTION
The getuid system call returns the real user ID of the calling process.
The geteuid system call returns the effective user ID of the calling process.
The getgid system call returns the real group ID of the calling process.
The getegid system call returns the effective group ID of the calling process.
RELATED INFORMATION
In this book: "setuid, setgid."
Processed November 7, 1990 GETUID(2,L) 1