code wiki / _hdl_build / nx_lsdir.nx
nx_lsdir.nx
buildroot/runtime/_hdl_build/nx_lsdir.nx
about
nx_lsdir.nx -- sovereign directory lister (getdents64, no /bin/ls / no shell). argv[1]=dir. Prints "d <name>" for
dirs, "f <name>" for files. A reusable Nishi inspection tool (feeds archive-manifest authoring, dir-walk, glob).
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_sovjson_lib.nxnx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 6 | const K_MAGIC_131072: i64 = 131072 |
functions
| 8 | func ls_w(s: *u8) -> i64 { return sj_puts(s) } |
| 10 | func main(argc: i64, argv: *i64) -> i64 |