--- IO-AIO/AIO.pm 2005/08/22 23:20:37 1.35 +++ IO-AIO/AIO.pm 2005/08/23 00:03:14 1.36 @@ -65,7 +65,7 @@ use Fcntl (); BEGIN { - $VERSION = 1.5; + $VERSION = 1.6; @EXPORT = qw(aio_read aio_write aio_open aio_close aio_stat aio_lstat aio_unlink aio_rmdir aio_symlink aio_fsync aio_fdatasync aio_readahead); @@ -177,15 +177,15 @@ socket, and C<$in_fh> should refer to mmap'able file. If the native sendfile call fails or is not implemented, it will be -emulated, so you can call C on any filehandles regardless of -the limitations of the OS. +emulated, so you can call C on any type of filehandle +regardless of the limitations of the operating system. Please note, however, that C can read more bytes from C<$in_fh> than are written, and there is no way to find out how many -bytes have been read form C alone, as C only -provides the number of bytes written to C<$out_fh>. Only if the return -value (the value provided to the callback) equals C<$length> one can -assume that C<$length> bytes have been read. +bytes have been read from C alone, as C only +provides the number of bytes written to C<$out_fh>. Only if the result +value equals C<$length> one can assume that C<$length> bytes have been +read. =item aio_readahead $fh,$offset,$length, $callback