--- libeio/eio.pod 2011/09/26 17:10:10 1.29 +++ libeio/eio.pod 2012/12/28 20:05:45 1.31 @@ -632,7 +632,7 @@ =item eio_mtouch (void *addr, size_t length, int flags, int pri, eio_cb cb, void *data) -Reads (C) or modifies (C) or modifies (C) the given memory area, page-wise, that is, it reads (or reads and writes back) the first octet of every page that spans the memory area. @@ -766,7 +766,7 @@ =item 3) open callback adds more requests In the open callback, if the open was not successful, copy C<< -req->errorno >> to C<< grp->errorno >> and set C<< grp->errorno >> to +req->errorno >> to C<< grp->errorno >> and set C<< grp->result >> to C<-1> to signal an error. Otherwise, malloc some memory or so and issue a read request, adding the @@ -774,10 +774,10 @@ =item 4) continue issuing requests till finished -In the real callback, check for errors and possibly continue with +In the read callback, check for errors and possibly continue with C or any other eio request in the same way. -As soon as no new requests are added the group request will finish. Make +As soon as no new requests are added, the group request will finish. Make sure you I set C<< grp->result >> to some sensible value. =back