Hi, It looks like the getgroups(3p) manpage has a typo. (http://man7.org/linux/man-pages/man3/getgroups.3p.html) Under the "Examples" section: --- int nogroups; ngroups = getgroups(ngroups_max, group); --- "nogroups" is declared but the return value of getgroups is assigned to "ngroups". Cheers, Kevin