Changeset View
Changeset View
Standalone View
Standalone View
lib/libsys/getgroups.2
| Show All 33 Lines | |||||
| .\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
| .\" | .\" | ||||
| .Dd October 10, 2025 | .Dd October 10, 2025 | ||||
| .Dt GETGROUPS 2 | .Dt GETGROUPS 2 | ||||
| .Os | .Os | ||||
| .Sh NAME | .Sh NAME | ||||
| .Nm getgroups | .Nm getgroups | ||||
| .Nd get the calling process' supplementary groups | .Nd get the calling process' supplementary groups | ||||
| .Sh LIBRARY | |||||
| .Lb libc | |||||
| .Sh SYNOPSIS | .Sh SYNOPSIS | ||||
| .Lb libc | |||||
| .In unistd.h | .In unistd.h | ||||
| .Ft int | .Ft int | ||||
| .Fn getgroups "int gidsetlen" "gid_t *gidset" | .Fn getgroups "int gidsetlen" "gid_t *gidset" | ||||
| .Sh DESCRIPTION | .Sh DESCRIPTION | ||||
| The | The | ||||
| .Fn getgroups | .Fn getgroups | ||||
| system call gets the calling process' supplementary groups and stores them in | system call gets the calling process' supplementary groups and stores them in | ||||
| the | the | ||||
| ▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines | |||||