code wiki / _hdl_build / nx_kindle_reextract_gate.nx
nx_kindle_reextract_gate.nx
buildroot/runtime/_hdl_build/nx_kindle_reextract_gate.nx
dependencies 2 imports · 0 importers
imports: nx_gate_gn.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
| none |
functions
| 11 | func gp(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 12 | func gslen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } |
| 13 | func ensure_dir(path: *u8) -> i64 { __syscall(258, 0-100, path, 0x1ed, 0, 0, 0); return 0 } called by 1: main |
| 14 | func gunlink(path: *u8) -> i64 { __syscall(263, 0-100, path, 0, 0, 0, 0); return 0 } called by 1: main |
| 16 | func spawn(path: *u8, a0: *u8, a1: *u8, redir: *u8) -> i64 |
| 34 | func exists(path: *u8) -> i64 { let fd: i64 = sys_openat_rd(path); if fd >= 0 { sys_close(fd); return 1 } return 0 } |
| 35 | func file_has(path: *u8, needle: *u8) -> i64 |
| 44 | func write_stale(path: *u8) -> i64 |
| 52 | func main() -> i64 |