ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/AIO.pm
(Generate patch)

Comparing IO-AIO/AIO.pm (file contents):
Revision 1.265 by root, Mon Jul 18 08:03:22 2016 UTC vs.
Revision 1.266 by root, Tue Aug 9 11:37:53 2016 UTC

446 446
447=item aio_write $fh,$offset,$length, $data,$dataoffset, $callback->($retval) 447=item aio_write $fh,$offset,$length, $data,$dataoffset, $callback->($retval)
448 448
449Reads or writes C<$length> bytes from or to the specified C<$fh> and 449Reads or writes C<$length> bytes from or to the specified C<$fh> and
450C<$offset> into the scalar given by C<$data> and offset C<$dataoffset> 450C<$offset> into the scalar given by C<$data> and offset C<$dataoffset>
451and calls the callback without the actual number of bytes read (or -1 on 451and calls the callback with the actual number of bytes read (or -1 on
452error, just like the syscall). 452error, just like the syscall).
453 453
454C<aio_read> will, like C<sysread>, shrink or grow the C<$data> scalar to 454C<aio_read> will, like C<sysread>, shrink or grow the C<$data> scalar to
455offset plus the actual number of bytes read. 455offset plus the actual number of bytes read.
456 456

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines