… | |
… | |
58 | =item Linux::AIO::nreqs |
58 | =item Linux::AIO::nreqs |
59 | |
59 | |
60 | Returns the number of requests currently outstanding. |
60 | Returns the number of requests currently outstanding. |
61 | |
61 | |
62 | =item aio_read($fh,$offset,$length, $data,$dataoffset,$callback) |
62 | =item aio_read($fh,$offset,$length, $data,$dataoffset,$callback) |
|
|
63 | |
63 | aio_write($fh,$offset,$length, $data,$dataoffset,$callback) |
64 | =item aio_write($fh,$offset,$length, $data,$dataoffset,$callback) |
64 | |
65 | |
65 | Reads or writes C<length> bytes from the specified C<fh> and C<offset> |
66 | Reads or writes C<length> bytes from the specified C<fh> and C<offset> |
66 | into the scalar given by C<data> and offset C<dataoffset> and calls the |
67 | into the scalar given by C<data> and offset C<dataoffset> and calls the |
67 | callback without the actual number of bytes read (or undef on error). |
68 | callback without the actual number of bytes read (or undef on error). |
68 | |
69 | |