… | |
… | |
362 | |
362 | |
363 | |
363 | |
364 | =item aio_open $pathname, $flags, $mode, $callback->($fh) |
364 | =item aio_open $pathname, $flags, $mode, $callback->($fh) |
365 | |
365 | |
366 | Asynchronously open or create a file and call the callback with a newly |
366 | Asynchronously open or create a file and call the callback with a newly |
367 | created filehandle for the file. |
367 | created filehandle for the file (or C<undef> in case of an error). |
368 | |
368 | |
369 | The pathname passed to C<aio_open> must be absolute. See API NOTES, above, |
369 | The pathname passed to C<aio_open> must be absolute. See API NOTES, above, |
370 | for an explanation. |
370 | for an explanation. |
371 | |
371 | |
372 | The C<$flags> argument is a bitmask. See the C<Fcntl> module for a |
372 | The C<$flags> argument is a bitmask. See the C<Fcntl> module for a |