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.36 by root, Tue Aug 23 00:03:14 2005 UTC vs.
Revision 1.37 by root, Tue Aug 23 12:37:19 2005 UTC

66 66
67BEGIN { 67BEGIN {
68 $VERSION = 1.6; 68 $VERSION = 1.6;
69 69
70 @EXPORT = qw(aio_read aio_write aio_open aio_close aio_stat aio_lstat aio_unlink 70 @EXPORT = qw(aio_read aio_write aio_open aio_close aio_stat aio_lstat aio_unlink
71 aio_rmdir aio_symlink aio_fsync aio_fdatasync aio_readahead); 71 aio_rmdir aio_readdir aio_symlink aio_fsync aio_fdatasync aio_readahead);
72 @EXPORT_OK = qw(poll_fileno poll_cb min_parallel max_parallel max_outstanding nreqs); 72 @EXPORT_OK = qw(poll_fileno poll_cb min_parallel max_parallel max_outstanding nreqs);
73 73
74 require XSLoader; 74 require XSLoader;
75 XSLoader::load IO::AIO, $VERSION; 75 XSLoader::load IO::AIO, $VERSION;
76} 76}
231=item aio_rmdir $pathname, $callback 231=item aio_rmdir $pathname, $callback
232 232
233Asynchronously rmdir (delete) a directory and call the callback with the 233Asynchronously rmdir (delete) a directory and call the callback with the
234result code. 234result code.
235 235
236=item aio_readdir $pathname $callback
237
238Unlike the POSIX call of the same name, C<aio_readdir> reads an entire
239directory (i.e. opendir + readdir + closedir). The entries will not be
240sorted, and will B<NOT> include the C<.> and C<..> entries.
241
242The callback a single argument which is either C<undef> or an array-ref
243with the filenames.
244
236=item aio_fsync $fh, $callback 245=item aio_fsync $fh, $callback
237 246
238Asynchronously call fsync on the given filehandle and call the callback 247Asynchronously call fsync on the given filehandle and call the callback
239with the fsync result code. 248with the fsync result code.
240 249

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines