← All docs
stream_socket_shutdown() — internals
Compiler internals for stream_socket_shutdown(): lowering path, type checks, and runtime helpers.
stream_socket_shutdown() — internals
Where it lives
- Signature:
src/builtins/io/stream_socket_shutdown.rs - Lowering:
src/codegen/lower_inst/builtins/io.rs:2520 (lower_stream_socket_shutdown) - Function symbol:
lower_stream_socket_shutdown()
Lowering notes
- Lowers
stream_socket_shutdown(stream, mode).
Runtime helpers
The following runtime helpers are referenced:
__rt_stream_socket_shutdown
Signature summary
function stream_socket_shutdown(resource $stream, int $mode): bool
What the type checker enforces
- Arity: takes exactly 2 arguments.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/filesystem/stream_socket_shutdown.rs(eval_builtin!) - Dispatch hooks:
direct,values