On Thu, Apr 23, 2009 at 03:18:43PM +0200, Ryan Dahl <[email protected]> wrote:
> > (in fact, I was very reluctant to event implment the offs < 0 special case
> > for read/write).
>
> I like this feature. I'm using eio to output to stdout (in the case
> that it is piped into an NFS file) and I'd rather not use pwrite() (or
> seek!) on that fd.
Yeah, that somehow counts :) That kidn of thing probably was the reason for
it being added.
However, remember that this form is very dangerous, as there are no
orderuing guarentees, so if you use it e.g. for logging, and you write to
log-lines, then they might end up in the wrong order, which is why it is a
rather bad thing to do :)
> Is there an 'o' missing in eio__pwrite ?
definitely, thanks for spotting it! (although, mixing those emulated
p* functions with other I/O is not going to work reliably anyways, but
afaics, those functions should be available everywhere now)
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / [email protected]
-=====/_/_//_/\_,_/ /_/\_\
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev