code wiki / (root) / nx_fsops_tool_register.nx

nx_fsops_tool_register.nx

buildroot/runtime/nx_fsops_tool_register.nx

4500 B45 linesdepth 7pulls 9 transitivereach 0 importersview sourcekind tooltopic fsops
docsdependenciesstructsconstsfunctions

about

nx_fsops_tool_register.nx -- register the consolidated filesystem tools into the discovery registry: nx_fs (READ class -> mcp__nishi__nx_fs) AND nx_fs_write (WRITE class, its own cap -> mcp__nishi__nx_fs_write). Binaries nx_fsops.elf / nx_fs_write.elf (the nx_fs.nx source name belongs to the file-I/O stdlib). Idempotent; verifies BOTH by READBACK. expect_exit: 0 license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_tool_registry.nx nx_fsops_tool_register.nx

imports: nx_tool_registry.nx

imported by: nobody (leaf or entry point)

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

main fr_puts tool_register tool_register_pfx tr_cat tr_tab reg_put reg_put_x sts_lock sts_mm ss_cat sys_openat_append sts_werr sys_flock reg_key reg_cat ss_get sys_mmap ss_scan reg_strlen reg_id_present sts_unlock sys_flock ↻ sys_close ss_next_segid sys_mmap ↻ ss_cat ↻ ss_readall ss_segid_ok ss_begin_cap sys_mmap ↻ ss_add ss_add2 ss_len ss_commit ss_segid_ok ↻ sys_mmap ↻ ss_cat ↻ ss_catn sys_write

structs

none

consts

7const ASCII_0: i64 = 48 // named so this registrar is itself rule-11 clean

functions

9func fr_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main
10func fr_putn(v: i64) -> i64
called by 1: main
22func main() -> i64