Function nix::unistd::setfsuid[][src]

pub fn setfsuid(uid: Uid) -> Uid

Set the user identity used for filesystem checks per-thread. On both success and failure, this call returns the previous filesystem user ID of the caller.

See also setfsuid(2)