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 / p003_zero_length.vec

12 lines · 282 bytes Raw Blame History
1case zero_length
2kind negative
3# zero-length read and write move nothing; authority and state are still checked
4create R W A => OK
5write W "" => OK n=0
6read R 0 => OK n=0
7read R 4 => WOULD_BLOCK
8write R "" => DENIED
9close R => OK
10write W "" => BROKEN_PIPE
11close W => OK
12check empty