V3/man/man2/getuid.2

Compare this file to the similar file:
Show the results in this format:

.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______ returns
the real user ID of
the current process.
The real user ID identifies the person who is logged in,
in contradistinction 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		--