group-struct ( obj -- group/f )


Vocabulary
unix.groups

Inputs
objan object


Outputs
group/fa group tuple or f


Word description
Looks up a group by name or id and returns a managed group snapshot, or f if it is absent. All strings and member names are copied before releasing the native lookup buffer, so the result remains valid across garbage collections and subsequent lookups.

Notes
Earlier versions returned an alien struct pointing into a temporary buffer. Use the id, name, passwd, and members slots of the returned group tuple.

Definition


Methods