ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Linux-AIO/AIO.pm
(Generate patch)

Comparing Linux-AIO/AIO.pm (file contents):
Revision 1.33 by root, Sun Jul 10 16:33:04 2005 UTC vs.
Revision 1.34 by root, Sun Jul 10 17:07:34 2005 UTC

127=item aio_open $pathname, $flags, $mode, $callback 127=item aio_open $pathname, $flags, $mode, $callback
128 128
129Asynchronously open or create a file and call the callback with the 129Asynchronously open or create a file and call the callback with the
130filedescriptor (NOT a perl filehandle, sorry for that, but watch out, this 130filedescriptor (NOT a perl filehandle, sorry for that, but watch out, this
131might change in the future). 131might change in the future).
132
133The pathname passed to C<aio_open> must be absolute. See API NOTES, above,
134for an explanation.
132 135
133The C<$mode> argument is a bitmask. See the C<Fcntl> module for a 136The C<$mode> argument is a bitmask. See the C<Fcntl> module for a
134list. They are the same as used in C<sysopen>. 137list. They are the same as used in C<sysopen>.
135 138
136Example: 139Example:
237 240
238 - aio_open gives a fd, but all other functions expect a perl filehandle. 241 - aio_open gives a fd, but all other functions expect a perl filehandle.
239 242
240=head1 SEE ALSO 243=head1 SEE ALSO
241 244
242L<Coro>. 245L<Coro>, L<IO::AIO>.
243 246
244=head1 AUTHOR 247=head1 AUTHOR
245 248
246 Marc Lehmann <schmorp@schmorp.de> 249 Marc Lehmann <schmorp@schmorp.de>
247 http://home.schmorp.de/ 250 http://home.schmorp.de/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines