sys_getgroups  [kernel/sys.c]


Gets list of supplementary group IDs.

Arguments

eax 80
ebx Size of the buffer pointed by ecx. If this value is 0, then function returns total number of supplementary group IDs for the process without filling the the buffer.
ecx A pointer to a buffer to hold the group IDs.

Return values

If the system call succeeds the return value is the number of supplementary group IDs.
If the system call fails the return value is one of the following errno values:

-EFAULT ecx has an invalid address.
-EINVAL Size specified by ebx is less than the number of supplementary group IDs, but is not zero.

Remarks

n/a

Compatibility

n/a