← All docs
fflush() — internals
Compiler internals for fflush(): lowering path, type checks, and runtime helpers.
fflush() — internals
Where it lives
- Signature:
src/builtins/io/fflush.rs - Lowering:
src/codegen/lower_inst/builtins/io.rs:3262 (lower_fflush) - Function symbol:
lower_fflush()
Lowering notes
- Lowers
fflush(stream)through the shared fd flush runtime helper.
Runtime helpers
The following runtime helpers are referenced:
__rt_fflush
Signature summary
function fflush(resource $stream): bool
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/filesystem/fflush.rs(eval_builtin!) - Dispatch hooks:
direct,values