getuid(2) DG/UX 4.30 getuid(2)
NAME
getuid - Get the real-user-id.
SYNOPSIS
#include <sys/types.h>
uid_t getuid ()
PARAMETERS
None.
DESCRIPTION
Getuid returns the real-user-id of the calling process.
ACCESS CONTROL
No access checking is performed.
RETURN VALUE
0..MAXUID The return value is always the real-user-id
of the calling process.
EXCEPTIONS
None.
SEE ALSO
The related system calls: geteuid, getgid, getegid, setuid,
setgid, setregid, setreuid.
Licensed material--property of copyright holder(s) Page 1