Handbook
Glossary
user-name ( id -- string )
Vocabulary
unix
.
users
Inputs
id
an
integer
Outputs
string
a
string
Word description
Returns the user-name associated with the user id.
Definition
USING:
accessors
kernel
math.parser
;
IN:
unix.users
:
user-name
( id -- string )
dup
user-passwd
[
nip
user-name>>
]
[
number>string
]
if*
;