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.13 by root, Mon Jul 11 01:49:14 2005 UTC vs.
Revision 1.14 by root, Mon Jul 11 02:53:59 2005 UTC

75 75
76=head2 AIO FUNCTIONS 76=head2 AIO FUNCTIONS
77 77
78All the C<aio_*> calls are more or less thin wrappers around the syscall 78All the C<aio_*> calls are more or less thin wrappers around the syscall
79with the same name (sans C<aio_>). The arguments are similar or identical, 79with the same name (sans C<aio_>). The arguments are similar or identical,
80and they all accept an additional C<$callback> argument which must be 80and they all accept an additional (and optional) C<$callback> argument
81a code reference. This code reference will get called with the syscall 81which must be a code reference. This code reference will get called with
82return code (e.g. most syscalls return C<-1> on error, unlike perl, which 82the syscall return code (e.g. most syscalls return C<-1> on error, unlike
83usually delivers "false") as it's sole argument when the given syscall has 83perl, which usually delivers "false") as it's sole argument when the given
84been executed asynchronously. 84syscall has been executed asynchronously.
85 85
86All functions that expect a filehandle will also accept a file descriptor. 86All functions that expect a filehandle will also accept a file descriptor.
87 87
88The filenames you pass to these routines I<must> be absolute. The reason 88The filenames you pass to these routines I<must> be absolute. The reason
89is that at the time the request is being executed, the current working 89is that at the time the request is being executed, the current working

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines