Research V3 development
[unix-history] / man / man2 / getuid.2
.pa 1
.he 'GETUID (II)'3/15/72'GETUID (II)'
.ti 0
NAME getuid -- get user identification
.sp
.ti 0
SYNOPSIS sys getuid / getuid = 24.
.br
(user ID in r0)
.sp
.ti 0
DESCRIPTION getuid\b\b\b\b\b\b______ returns
the real user ID of
the current process.
The real user ID identifies the person who is logged in,
in con\ 6tra\ 6dis\ 6tinc\ 6tion to the effective user ID, which
determines his access permission at each moment.
It is thus useful to programs which operate using
the "set user ID" mode, to find out who invoked them.
.sp
.ti 0
.ti 0
SEE ALSO setuid(II)
.sp
.ti 0
DIAGNOSTICS --
.sp
.ti 0
BUGS --