stream-copy* ( in out -- )
Factor handbook > Input and output > Streams > Stream utilities

Prev:each-block ( ... quot: ( ... block -- ... ) -- ... )
Next:stream-copy ( in out -- )


Vocabulary
io

Inputs and outputs
inan input stream
outan output stream


Word description
Copies the contents of one stream into another. The streams are left open when the copy is completed. The stream-copy word can be used instead to close them on completion, if desired.

Errors
Throws an error if the I/O operation fails.

Definition