--- libeio/eio.pod 2011/07/05 20:34:42 1.18 +++ libeio/eio.pod 2011/07/07 22:36:18 1.21 @@ -133,7 +133,7 @@ (i.e. it returns C<-1>) then you should start an idle watcher that calls C until it returns something C. -A full-featured conenctor between libeio and libev would look as follows +A full-featured connector between libeio and libev would look as follows (if C is handling all requests, it can of course be simplified a lot by removing the idle watcher logic): @@ -278,7 +278,7 @@ =item eio_cancel (eio_req *req) -Cancel the request (and all it's subrequests). If the request is currently +Cancel the request (and all its subrequests). If the request is currently executing it might still continue to execute, and in other cases it might still take a while till the request is cancelled. @@ -595,6 +595,15 @@ Flags can be any combination of C, C and C. +=item eio_fallocate (int fd, int mode, off_t offset, off_t len, int pri, eio_cb cb, void *data) + +Calls C (note: I C!). If the syscall is +missing, then it returns failure and sets C to C. + +The C argument can be C<0> (for behaviour similar to +C), or C, which keeps the size +of the file unchanged (but still preallocates space beyond end of file). + =back =head3 LIBEIO-SPECIFIC REQUESTS