interplane.Get Omega
Read in your language

aien-protocols-mv

Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem

Brought by drakestapleton

branch main Branches Tags History

aien-protocols-mv / specs / osh-platform / vectors / s003_zero_length.vec

16 lines · 371 bytes Raw Blame History
1case zero_length
2kind negative
3exec host-logic
4domain any
5needs streams
6# zero-length read and write move nothing and never block; authority and the reader check still apply (ST4.3)
7create R W A => OK
8write W "" => OK n=0
9read R 0 => OK n=0
10read R 4 => WOULD_BLOCK
11write R "" => DENIED
12read W 0 => DENIED
13close R => OK
14write W "" => BROKEN_PIPE
15close W => OK
16check empty