← All docs
stream_socket_pair() — internals
Compiler internals for stream_socket_pair(): lowering path, type checks, and runtime helpers.
stream_socket_pair() — internals
Where it lives
- Signature:
src/builtins/io/stream_socket_pair.rs - Lowering:
src/codegen/lower_inst/builtins/io.rs:2463 (lower_stream_socket_pair) - Function symbol:
lower_stream_socket_pair()
Lowering notes
- Lowers
stream_socket_pair(domain, type, protocol)and boxesarray|false.
Runtime helpers
The following runtime helpers are referenced:
__rt_stream_socket_pair
Signature summary
function stream_socket_pair(int $domain, int $type, int $protocol): mixed
What the type checker enforces
- Arity: takes exactly 3 arguments.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/filesystem/stream_socket_pair.rs(eval_builtin!) - Dispatch hooks:
direct,values