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 .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.In sys/types.h .In sys/param.h
.In unistd.h .In unistd.h
.Ft int .Ft int
.Fn getgroups "int gidsetlen" "gid_t *gidset" .Fn getgroups "int gidsetlen" "gid_t *gidset"