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
|
.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"
|
||||||
|
Loading…
Reference in New Issue
Block a user