Handbook
Glossary
>directory-entry ( dirent* -- directory-entry )
Vocabulary
io
.
directories
.
unix
Inputs
dirent*
an
object
Outputs
directory-entry
an
object
Definition
USING:
accessors
alien.strings
io.directories
io.files.info
io.files.types
kernel
;
IN:
io.directories.unix
:
>directory-entry
( dirent* -- directory-entry )
[
d_name>>
alien>native-string
]
[
d_type>>
dirent-type>file-type
]
bi
dup
+unknown+
=
[
drop
dup
file-info
type>>
]
when
<directory-entry>
;
inline