code wiki / _hdl_build / nx_ciq_battery_reclaim.nx

nx_ciq_battery_reclaim.nx

buildroot/runtime/_hdl_build/nx_ciq_battery_reclaim.nx

4736 B66 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind tooltopic ciq
docsdependenciesstructsconstsfunctions

dependencies 2 imports · 0 importers

nx_gate_gn.nx nx_syscalls.nx nx_ciq_battery_reclaim.nx

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

main gp sys_write erow gp ↻ gn gn ↻ have sys_openat_rd sys_close sys_exit

structs

none

consts

none

functions

9func gp(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 2: erowmain calls 1: sys_write
10func have(p: *u8) -> i64 { let fd: i64=sys_openat_rd(p); if fd<0 { return 0 } sys_close(fd); return 1 }
called by 1: main calls 2: sys_openat_rdsys_close
12func erow(name: *u8, c0: i64, c1: i64, c2: i64, c3: i64, c4: i64, c5: i64) -> i64
called by 1: main calls 2: gpgn
21func main() -> i64