tech-userlevel archive

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

Re: fun (not so much) with funopen

On Sat, Mar 17, 2012 at 02:14:22AM +0900, Takehiko NOZAKI wrote:
> POSIX2008 require open_w?memstream(3), but our stdio doesn't have
> chance to override FILE fflush handle.
> so it is hard to implement it. (and our fmemopen(3) implementation
> have bug related about this).

I don't see how this relates. The only requirement form POSIX seems to
be that the write handler for open_w?memstream has update the buffer
pointer to the highest position used. It doesn't specify anything else
regarding to internal buffering.


Home | Main Index | Thread Index | Old Index