interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / native / kernel / tests / fixtures / pipe / p001_nul_payload.vec

11 lines · 326 bytes Raw Blame History
1case nul_payload
2kind positive
3# bytes including NUL and 0xFF pass byte for byte; last writer closed -> EOF once drained
4create R W A => OK
5write W "a\x00b\x00\xff\x00" => OK n=6
6read R 16 => OK n=6 data="a\x00b\x00\xff\x00"
7close W => OK
8read R 16 => OK n=0
9check eof=1 bytes_written=6 bytes_read=6
10close R => OK
11check empty