Function lrs::syscall::getgroups

Retrieves the supplementary groups of this process.

Syntax

fn getgroups(buf: &mut [u32]) -> i32

Arguments

NameDescription
buf

The buffer in which the groups will be stored.

Return value

Returns the number of groups stored or an error value.

See also