SETUID(II)                    8/5/73                   SETUID(II)



NAME
     setuid - set process user ID

SYNOPSIS
     (setuid = 23.)
     (user ID in r0)
     sys setuid

     setuid(uid)

DESCRIPTION
     The  user  ID of the current process is set to the argument.
     Both the effective and the real user ID are set.  This  call
     is  only  permitted  to the super-user or if the argument is
     the real user ID.

SEE ALSO
     getuid(II)

DIAGNOSTICS
     Error bit (c-bit) is set as indicated; from C, a -1 value is
     returned.



































                              - 1 -