Function nix::unistd::setuid [] [src]

pub fn setuid(uid: Uid) -> Result<()>

Set the user ID

See also setuid(2)