Add read-partial word

db4
Slava Pestov 2008-05-11 17:43:17 -05:00
parent 7f725dfa6d
commit d682d572e2
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ SYMBOL: error-stream
: read1 ( -- ch/f ) input-stream get stream-read1 ;
: read ( n -- str/f ) input-stream get stream-read ;
: read-until ( seps -- str/f sep/f ) input-stream get stream-read-until ;
: read-partial ( n -- str/f ) input-stream get stream-read-partial ;
: write1 ( ch -- ) output-stream get stream-write1 ;
: write ( str -- ) output-stream get stream-write ;