getuid(2) — System Calls
OSF
NAME
getuid, geteuid − Gets the process’ real or effective user ID
SYNOPSIS
#include <unistd.h>
#include <sys/types.h>
uid_t getuid( void );
uid_t geteuid( void );
DESCRIPTION
The getuid() function returns the real user ID of the current process.
The geteuid() function returns the effective user ID of the current process.
NOTES
AES Support Level:
Full use
RELATED INFORMATION
Functions: setuid(2), setruid(3), setreuid(2)