← All docs
pclose() — internals
Compiler internals for pclose(): lowering path, type checks, and runtime helpers.
pclose() — internals
Where it lives
- Signature:
src/builtins/io/pclose.rs - Lowering:
src/codegen/lower_inst/builtins/io.rs:3626 (lower_pclose) - Function symbol:
lower_pclose()
Lowering notes
- Lowers
pclose(handle)and returns the child process status.
Runtime helpers
The following runtime helpers are referenced:
__rt_pclose
Signature summary
function pclose(resource $handle): int
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/filesystem/pclose.rs(eval_builtin!) - Dispatch hooks:
direct,values