V1/man/man2/getuid.2

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

        11/3/71                                              SYS GETUID (II)

NAME              getuid -- get user identification

SYNOPSIS          sys      getuid / getuid = 24.
                  (user ID in r0)

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.

FILES             /etc/uids can be used to map the user ID number into a
                  name.

SEE ALSO          setuid

DIAGNOSTICS

BUGS

OWNER             ken, dmr