code wiki / (root) / nx_fcntl_probe.nx

nx_fcntl_probe.nx

buildroot/runtime/nx_fcntl_probe.nx

2418 B49 linesdepth 5pulls 5 transitivereach 0 importersview sourcekind probe
docsdependenciesstructsconstsfunctions

about

nx_fcntl_probe.nx -- which syscall number actually reaches fcntl on this target? Rule 2: verify library APIs in-container, never trust the header. expect_exit: 0 license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_connect.nx nx_fcntl.nx nx_fcntl_probe.nx

imports: nx_syscalls.nxnx_connect.nxnx_fcntl.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_socket p_puts sys_write p_putn sys_mmap sys_write ↻ nx_fcntl sys_mmap ↻ sys_bind sys_listen nx_connect_bounded nx_fcntl ↻ sys_connect sys_mmap ↻ sys_poll sys_close

structs

none

consts

7const K_MAGIC_19791: i64 = 19791

functions

9func p_puts(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 1: main calls 1: sys_write
10func p_putn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
27func main(argc: i64, argv: *i64) -> i64