[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Specification vs. Implementation
Alex Shinn <alexshinn@xxxxxxxxx> 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
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla