Handbook
Glossary
?group-id ( string -- id )
Unix groups
Prev:
set-effective-group ( obj -- )
Next:
with-real-group ( string/id/f quot -- )
Vocabulary
unix
.
groups
Inputs
string
a
string
Outputs
id
a group id
Word description
Returns a group id or throws an exception.
Definition
USING:
accessors
kernel
;
IN:
unix.groups
:
?group-id
( string -- id )
dup
group-struct
[
nip
gr_gid>>
]
[
no-group
]
if*
;