… | |
… | |
413 | |
413 | |
414 | =cut |
414 | =cut |
415 | |
415 | |
416 | =item aio_seek $fh, $offset, $whence, $callback->($offs) |
416 | =item aio_seek $fh, $offset, $whence, $callback->($offs) |
417 | |
417 | |
418 | Seeks the filehandle to the new C<$offset>, similarly to perl'S |
418 | Seeks the filehandle to the new C<$offset>, similarly to perl's |
419 | C<sysseek>. The C<$whence> can use the traditional values (C<0> for |
419 | C<sysseek>. The C<$whence> can use the traditional values (C<0> for |
420 | C<IO::AIO::SEEK_SET>, C<1> for C<IO::AIO::SEEK_CUR> or C<2> for |
420 | C<IO::AIO::SEEK_SET>, C<1> for C<IO::AIO::SEEK_CUR> or C<2> for |
421 | C<IO::AIO::SEEK_END>). |
421 | C<IO::AIO::SEEK_END>). |
422 | |
422 | |
423 | The resulting absolute offset will be passed to the callback, or C<-1> in |
423 | The resulting absolute offset will be passed to the callback, or C<-1> in |