Function nix::unistd::setfsuid

source ·
pub fn setfsuid(uid: Uid) -> Uid
Available on crate features fs and user only.
Expand description

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)