Handbook
Glossary
group-id ( string -- id/f )
Vocabulary
unix
.
groups
Inputs
string
a
string
Outputs
id/f
an integer or f
Word description
Returns the group id given a group name. Returns
f
if the group does not exist.
Definition
USING:
accessors
kernel
;
IN:
unix.groups
:
group-id
( string -- id/f )
group-struct
dup
[
gr_gid>>
]
when
;