John Cowan <cowan_at_ccil.org> writes:
> Currently, buffer modes are for output only. However, operating systems
> also distinguish between buffered and unbuffered input. The
> open-file-input-port procedure should be allowed to accept an additional
> argument specifying the buffer mode, in parallel with open-file-output-port.
> Allowing input to be unbuffered can limit deadlocks when dealing with
> communicating processes.
Is this possible in general? Specifically, transcoding on input
requires some buffering, at least for multi-byte encodings. Or do you
intend this to work only for binary ports?
--
Cheers =8-} Mike
Friede, V?lkerverst?ndigung und ?berhaupt blabla
Received on Sat Feb 10 2007 - 11:17:59 UTC