Go to the first, previous, next, last section, table of contents.


The Sys2 module

val copy_file : in_channel -> out_channel -> unit

copy_file ic oc copies channel ic to channel oc until the end of the file.

val copy_file_chunk : in_channel -> out_channel -> int -> unit

copy_file_chunk ic oc len copies len bytes from channel ic to channel oc, and raises End_of_file if the end of the file is reached.


Go to the first, previous, next, last section, table of contents.