fs_unlink_tail_test.nx
buildroot/runtime/fs_unlink_tail_test.nx
about
fs_unlink_tail_test.nx -- end-to-end smoke for fs_unlink + fs_tail.
Builds a 5-line file, asks fs_tail for the last 3 lines, verifies
the byte count and the newline count, then unlinks and verifies
the file is gone. Re-unlinks to confirm the NotFound errno path.
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_stdlib.nxnx_fs.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 count_newlines(buf: *u8, n: i64) -> i64 called by 1: main |
| 21 | func main() -> i64 |