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:
parent
224adb8da4
commit
fbe6dd82e6
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user