Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-protocols-mv/blob/main/specs/osh-platform/vectors/s002_capacity_partial.vec # aien-protocols-mv Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-protocols-mv / specs / osh-platform / vectors / s002_capacity_partial.vec` 20 lines ยท 515 bytes Raw Blame History 1 case capacity_partial 2 kind negative 3 exec host-logic 4 domain any 5 needs streams 6 # partial reads and writes (ST4.1, ST4.2); bounded capacity, no PIPE_BUF atomicity (ST4.2, ST11.6) 7 create R W A => OK 8 write W "hello" => OK n=5 9 read R 2 => OK n=2 data="he" 10 read R 10 => OK n=3 data="llo" 11 fill W 65530 61 => OK n=65530 12 write W "abcdefghij" => OK n=6 13 write W "x" => WOULD_BLOCK 14 write W "" => OK n=0 15 skim R 65530 => OK n=65530 16 read R 10 => OK n=6 data="abcdef" 17 read R 1 => WOULD_BLOCK 18 close R => OK 19 close W => OK 20 check empty