Gets the current supplementary group IDs of the calling process. Format #include <unistd.h> int getgroups (int gidsetsize, gid_t grouplist[]);