Handbook
Glossary
dirent
Vocabulary
unix
.
ffi
Definition
USING:
alien.c-types
classes.struct
unix.types
;
IN:
unix.ffi
STRUCT:
dirent
{
d_ino
ino_t
initial:
0
}
{
d_reclen
__uint16_t
initial:
0
}
{
d_type
__uint8_t
initial:
0
}
{
d_namlen
__uint8_t
initial:
0
}
{
d_name char[__DARWIN_MAXNAMELEN+1]
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
unix.ffi
;
M:
dirent
clone
clone-underlying
\
dirent
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
unix.ffi
;
M:
dirent
struct-slot-values
{
[
d_ino>>
]
[
d_reclen>>
]
[
d_type>>
]
[
d_namlen>>
]
[
d_name>>
]
}
cleave>array
;
inline