getuid(2)
_________________________________________________________________
getuid System Call
Get the real-user-id.
_________________________________________________________________
SYNTAX
#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.
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)