Re: Specification vs. Implementation
Michael Sperber 29 Aug 2005 17:35 UTC
Alex Shinn <xxxxxx@gmail.com> writes:
> The way to control buffering at the stream level is with setvbuf(3). This
> gives you control over full buffering, line buffering and no buffering.
The FreeBSD man page only talks about the buffering of output stream
here. It's unclear to me what impact should be on input streams,
especially given the presence of things like ungetc(3).
Now, it seems SET-OUTPUT-PORT-BUFFER-MODE! does exactly the same
thing for output ports as setvbuf(3) does for FILE* objects. What am
I missing?
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla