Handbook
Glossary
?user-id ( string -- id/f )
Vocabulary
unix
.
users
Inputs
string
a
string
Outputs
id/f
an integer or
f
Word description
Returns a group id or throws an exception.
Definition
USING:
accessors
kernel
;
IN:
unix.users
:
?user-id
( string -- id/f )
dup
user-passwd
[
nip
uid>>
]
[
no-user
]
if*
;