getuid(2) DG/UX 5.4.2 getuid(2)
NAME
getuid - get the real-user-id
SYNOPSIS
#include <unistd.h>
#include <sys/types.h>
uidt getuid ()
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.
DIAGNOSTICS
None.
SEE ALSO
geteuid(2), getgid(2), getegid(2), setuid(2), setgid(2), setregid(2),
setreuid(2).
Licensed material--property of copyright holder(s) 1