[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Specification vs. Implementation

This page is part of the web mail archives of SRFI 68 from before July 7th, 2015. The new archives for SRFI 68 contain all messages, not just those from before July 7th, 2015.



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
I missing?

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla