nix::unistd

Function setuid

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

Set the user ID

See also setuid(2)