… | |
… | |
331 | Asynchronously unlink (delete) a file and call the callback with the |
331 | Asynchronously unlink (delete) a file and call the callback with the |
332 | result code. |
332 | result code. |
333 | |
333 | |
334 | =item aio_mknod $path, $mode, $dev, $callback->($status) |
334 | =item aio_mknod $path, $mode, $dev, $callback->($status) |
335 | |
335 | |
336 | Asynchronously create a device node (or fifo). See mknod(2): the only |
336 | Asynchronously create a device node (or fifo). See mknod(2). |
337 | portable value for C<$mode> is C<S_IFIFO> ored with permissions, and C<0> |
337 | |
338 | for C<$dev>. |
338 | The only portable (POSIX) way of calling this function is: |
|
|
339 | |
|
|
340 | aio_mknod $path, IO::AIO::S_IFIFO | $mode, 0, sub { ... |
339 | |
341 | |
340 | =item aio_link $srcpath, $dstpath, $callback->($status) |
342 | =item aio_link $srcpath, $dstpath, $callback->($status) |
341 | |
343 | |
342 | Asynchronously create a new link to the existing object at C<$srcpath> at |
344 | Asynchronously create a new link to the existing object at C<$srcpath> at |
343 | the path C<$dstpath> and call the callback with the result code. |
345 | the path C<$dstpath> and call the callback with the result code. |