code wiki / _hdl_build / nx_wiki_hub.nx

nx_wiki_hub.nx

buildroot/runtime/_hdl_build/nx_wiki_hub.nx

3389 B50 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic wiki
docsdependenciesstructsconstsfunctions

about

nx_wiki_hub.nx -- the navigable FRONT DOOR (index.html) on the shared design skin. Maps everything and makes FORWARD (next) / BACKWARD (history) obvious. Sovereign: nx_syscalls + nx_wiki_skin_lib. Emits /tmp/nx_wiki_hub.html + nx_aw_push specs for .../wiki/index.html. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_wiki_skin_lib.nx nx_wiki_hub.nx

imports: nx_syscalls.nxnx_wiki_skin_lib.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 skin_open sk_cat sk_nav sk_cat ↻ sk_streq sk_cat ↻ skin_close sk_cat ↻ sk_catn sys_mmap ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real sys_openat_wr sys_write sys_exit sys_close wh_write sys_openat_wr ↻ sys_write ↻ wh_slen sys_close ↻ sk_catn ↻

structs

none

consts

6const WH_MAGIC_262144: i64 = 262144
8const WH_OUT: *u8 = "/tmp/nx_wiki_hub.html"
9const WH_SRC: *u8 = "/tmp/nx_wiki_hub.src"
10const WH_DST: *u8 = "/tmp/nx_wiki_hub.dst"
11const WH_SRCVAL: *u8 = "/tmp/nx_wiki_hub.html\n"
12const WH_DSTVAL: *u8 = "cat > /volume1/homes/elderwesto/nishihost/sites/nishifamily/wiki/index.html\n"

functions

14func wh_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 1: wh_write
15func wh_write(path: *u8, content: *u8) -> i64
21func main(argc: i64, argv: *i64) -> i64