code wiki / _hdl_build / nx_pub_drain_diag.nx
nx_pub_drain_diag.nx
buildroot/runtime/_hdl_build/nx_pub_drain_diag.nx
dependencies 4 imports · 0 importers
imports: nx_gate_gn.nxnx_syscalls.nxnx_publisher.nxnx_runpath.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 dmk(p: *u8) -> i64 { __syscall(83, p as i64, 493, 0, 0, 0, 0); return 0 } called by 1: main |
| 13 | func djoin(d: *u8, name: *u8) -> *u8 { let p: *u8 = sys_mmap(700); pub_join(d, name, p); return p } |
| 14 | func dwrite(path: *u8, content: *u8) -> i64 { let fd: i64 = sys_openat_wr(path, 0x1a4); if fd<0 { return 0 } var n: i64=0; while content[n]!=(0 as u8){n=n+1} sys_write(fd, content, n); sys_close(fd); return 1 } |
| 15 | func dunlink(path: *u8) -> i64 { __syscall(87, path as i64, 0, 0, 0, 0, 0); return 0 } called by 1: main |
| 17 | func main() -> i64 |