Just like in case of setgroups(2), for getgroups(2) also advice including

sys/param.h instead of sys/types.h so we get NGROUPS_MAX and NGROUPS
definitions.
This commit is contained in:
pjd 2010-06-26 21:44:05 +00:00
parent 224adb8da4
commit fbe6dd82e6

View File

@ -37,7 +37,7 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
.In sys/types.h
.In sys/param.h
.In unistd.h
.Ft int
.Fn getgroups "int gidsetlen" "gid_t *gidset"