← All docs
umask() — internals
Compiler internals for umask(): lowering path, type checks, and runtime helpers.
umask() — internals
Where it lives
- Signature:
src/builtins/io/umask.rs - Lowering:
src/codegen/lower_inst/builtins/io.rs:4489 (lower_umask) - Function symbol:
lower_umask()
Lowering notes
- Lowers
umask(mask?)through the target-aware runtime helper.
Runtime helpers
The following runtime helpers are referenced:
__rt_umask
Signature summary
function umask(int $mask = null): int
What the type checker enforces
- Arity: takes 0–1 arguments (1 optional).
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/filesystem/umask.rs(eval_builtin!) - Dispatch hooks:
direct,values