diff --git a/io.c b/io.c index e4c7763572..491442bd28 100644 --- a/io.c +++ b/io.c @@ -11017,7 +11017,12 @@ copy_stream_finalize(VALUE arg) * IO.copy_stream(src, dst, copy_length, src_offset) * * IO.copy_stream copies src to dst. - * src and dst is either a filename or an IO. + * src and dst is either a filename or an IO-like object. + * IO-like object for src should have readpartial or + * read method. + * IO-like object for dst should have write method. + * (Specialized mechanisms, such as sendfile system call, may be used + * on appropriate situation.) * * This method returns the number of bytes copied. *