code wiki / _hdl_build / _fsync_probe.nx

_fsync_probe.nx

buildroot/runtime/_hdl_build/_fsync_probe.nx

1881 B49 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind probe
docsdependenciesstructsconstsfunctions

about

_fsync_probe.nx -- runtime probe: which __syscall number reaches x86-64 fsync? Candidates: 82 (rv64/generic fsync, IF the compiler's table translates it) and 74 (x86-64 fsync direct, IF untranslated numbers pass through -- the unlinkat 263 precedent). fsync(valid fd)=0 and fsync(-1)=-9 EBADF identifies the real one; rename-semantics misfire returns -EFAULT(-14)/-ENOENT(-2) = visibly NOT fsync. Verify-library-APIs law: trust runtime, not docs. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx _fsync_probe.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main sys_openat_wr sys_write sys_close fpp sys_write ↻ fpn sys_mmap sys_write ↻

structs

none

consts

none

functions

8func fpp(s: *u8) -> i64
called by 1: main calls 1: sys_write
14func fpn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
27func main() -> i64