pub unsafe fn getgroups(size: int, list: *mut gid_t) -> Result<int>
Expand description
Get the supplementary group IDs of the current process.
size
is the number of gid_t
values that could fit in the buffer that
list
points to. The return value is the number of values actually written.