Function setfsgid
pub unsafe fn setfsgid(fsgid: u32) -> Result<u32, i32> ⓘ
Available on crate feature
dep_nc
only.Expand description
Set group identify used for filesystem checkes.
§Examples
let ret = unsafe { nc::setfsgid(0) };
assert!(ret.is_ok());
let gid = unsafe { nc::getgid() };
assert_eq!(ret, Ok(gid));