There is not std.stdio.flush

BCS ao at pathlink.com
Mon Jul 20 09:17:35 PDT 2009


Reply to Lars,

> Haruki Shigemori wrote:
> 
>> Hi.
>> 
>> The std.cstream.dout has a member function dout.flush.
>> But the std.stdio has not a function flush or a similar function.
>> Why? Don't you want to have it?
>> Give me the std.stdio.flush!
> All the write functions in std.stdio (write, writeln, writef,
> writefln) flush automatically, so there is no need for a separate
> flush function.

IIRC writef only forces a flush on a newline.




More information about the Digitalmars-d-learn mailing list