code wiki / (root) / nx_tools_listener_child_gate.nx

nx_tools_listener_child_gate.nx

buildroot/runtime/nx_tools_listener_child_gate.nx

11349 B182 linesdepth 11pulls 38 transitivereach 0 importersview sourcekind gate/prooftopic tools
docsdependenciesstructsconstsfunctions

about

Actual source-linked child helper, fresh loopback listener and private cwd only. No daemon startup, seed, production capabilities, allowlists or pre-existing PID signals.

dependencies 3 imports · 0 importers

nx_tools_api_serve.nx nx_connect.nx nx_gate_verdict.nx nx_tools_listener_child_gate.n

imports: nx_tools_api_serve.nxnx_connect.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main gv_puts sys_write lg_num gv_ctr sys_mmap nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ gv_head gv_puts ↻ gv_check gv_puts ↻ lg_finish gv_verdict gv_note_bare_rate gv_bare_rate gv_at gv_obj_has_n gv_at ↻ gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_puts ↻ gv_num ↻ gv_journal sys_openat_append

structs

none

consts

6const LG_PRIVATE: i64 = 448
7const LG_WAIT_NOHANG: i64 = 1
8const LG_ENOENT: i64 = 0-2
9const LG_SIGKILL: i64 = 9
10const LG_I64_MAX: i64 = 9223372036854775807
11const LG_PORT_MAX: i64 = 65535
12const LG_MS_PER_SEC: i64 = 1000

functions

15func lg_num(s: *u8) -> i64
called by 1: main
25func lg_equal(a: *u8, an: i64, b: *u8, bn: i64) -> i64
called by 1: main
44func lg_socket_timeout(fd: i64, seconds: i64) -> i64
called by 1: main
54func lg_reap(pid: i64, status: *i64) -> i64
called by 1: main
65func lg_finish(ctr: *i64) -> i64
called by 1: main calls 1: gv_verdict
68func main(argc: i64, argv: *i64) -> i64