3/15/72                                               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 ef-

                fective user ID, which determines his access per-

                mission 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(II)



DIAGNOSTICS     --



BUGS            --



OWNER           ken, dmr