code wiki / (root) / _dlr_fetch_one.nx

_dlr_fetch_one.nx

buildroot/runtime/_dlr_fetch_one.nx

940 B23 linesdepth 22pulls 132 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

_dlr_fetch_one.nx -- single-URL TEXT fetch unit for the guarded crawler. Staged fetch (validated HTTPS + redirect follow + chunked decode) is the SHARED nx_fetch_unit (Rule #15 -- extracted 2026-06-10 standards audit); this child adds only html->text + the output write. Runs under nx_guarded_run. Exit 0 = text written; 2 = fetch failed; 3 = bad args. usage: _dlr_fetch_one <url> <out_text_path>

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_fetch_unit.nx nx_html_to_text.nx _dlr_fetch_one.nx

imports: nx_syscalls.nxnx_fetch_unit.nxnx_html_to_text.nx

imported by: nobody (leaf or entry point)

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

main 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 ↻ nx_fetch_staged nx_pem_trust_load_file sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close nx_pem_trust_load nx_str_len _pem_find nx_str_len ↻ sys_mmap ↻ b64_decode b64_grab b64_dec_char sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real sys_mmap ↻ nx_csprng_fill sys_mmap ↻

structs

none

consts

none

functions

11func main(argc: i64, argv: *i64) -> i64