nix::unistd

Function setfsgid

source
pub fn setfsgid(gid: Gid) -> Gid
Expand description

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

See also setfsgid(2)