GETUID(II)                   8/5/73                    GETUID(II)







NAME

     getuid  -  get user identification



SYNOPSIS

     (getuid = 24.)

     sys getuid



     getuid( )



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 the moment.  It is thus useful to

     programs which operate using the ``set user  ID''  mode,  to

     find out who invoked them.



SEE ALSO

     setuid(II)



DIAGNOSTICS

     -