On Tue, May 15, 2012 at 04:43:05PM -0700, Sean Kelly wrote: [...] > One thing I'd like in a buffered input API is a way to perform > transactional reads such that if the full read can't be performed, the > read state remains unchanged. The best you can do with most APIs is to > check for a desired length, but what I'd I don't want to read until a > full line is available, and I don't know the exact length? Typically, > you end up having to double buffer, which stinks.
This would be very nice to have, but how would you go about implementing such a thing, though? Wouldn't you need OS-level support for it? T -- Let's eat some disquits while we format the biskettes.