Sign in Join
FPDoc Onlineexperiment

FpGetgroups function

In unit BaseUnix

Get the list of supplementary groups.

Declaration

pascal
function FpGetgroups(gidsetsize: cint; var grouplist: TGrpArr): cint

Description

FpGetgroups returns up to gidsetsize groups in GroupList

If the function is successful, then number of groups that were stored is returned. On error, -1 is returned.

Errors

On error, -1 is returned. Extended error information can be retrieved with fpGetErrNo

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.