code wiki / _hdl_build / _fsync_probe.nx
_fsync_probe.nx
buildroot/runtime/_hdl_build/_fsync_probe.nx
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
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
structs
| none |
consts
| none |
functions
| 8 | func fpp(s: *u8) -> i64 |
| 14 | func fpn(v: i64) -> i64 |
| 27 | func main() -> i64 |