code wiki / _hdl_build / nx_reader_sync_gate.nx
nx_reader_sync_gate.nx
buildroot/runtime/_hdl_build/nx_reader_sync_gate.nx
dependencies 5 imports · 0 importers
imports: nx_gate_grow.nxnx_gate_gn.nxnx_gate_read.nxnx_syscalls.nxnx_reader_sync.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
| 19 | func gw(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 20 | func g_has(hay: *u8, n: i64, needle: *u8) -> i64 called by 1: main |
| 27 | func g_exists(path: *u8) -> i64 { let fd: i64 = sys_openat_rd(path); if fd < 0 { return 0 } sys_close(fd); return 1 } |
| 28 | func g_mkdir(path: *u8) -> i64 { __syscall(258, 0 - 100, path as i64, 0x1ed, 0, 0, 0); return 0 } called by 1: main |
| 29 | func g_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 30 | func g_unlink(path: *u8) -> i64 { __syscall(263, 0 - 100, path, 0, 0, 0, 0); return 0 } |
| 31 | func g_streq(a: *u8, b: *u8) -> i64 { var i: i64 = 0; while a[i] != (0 as u8) { if a[i] != b[i] { return 0 } i = i + 1 } if b[i] == (0 as u8) { return 1 } return 0 } called by 1: main |
| 34 | func g_get(p: *u8, ukey: *u8, out: *u8, cap: i64) -> i64 |
| 43 | func g_put(p: *u8, body: *u8, blen: i64, ukey: *u8, out: *u8, cap: i64) -> i64 |
| 52 | func g_ann_get(p: *u8, ukey: *u8, out: *u8, cap: i64) -> i64 |
| 60 | func g_ann_put(p: *u8, body: *u8, blen: i64, ukey: *u8, out: *u8, cap: i64) -> i64 |
| 69 | func main() -> i64 |