[][src]Function linux::syscall::getgroups

pub fn getgroups(buf: &mut [gid_t]) -> c_int

Retrieves the supplementary groups of this process.

[argument, buf] The buffer in which the groups will be stored.

[return_value] Returns the number of groups stored or an error value.

= See also

  • link:man:getgroups(2)