Handbook
Glossary
all-groups ( -- seq )
Unix groups
Next:
all-group-names ( -- seq )
Vocabulary
unix
.
groups
Inputs
None
Outputs
seq
a
sequence
Word description
Returns a sequence of
group
tuples that are platform-dependent and field for field complete with the Unix
group
structure.
Definition
USING:
kernel
sequences
unix.ffi
unix.groups.private
;
IN:
unix.groups
:
all-groups
( -- seq )
[
getgrent
dup
]
[
group-struct>group
]
produce
nip
endgrent
;