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