Add "setBinaryMode" and "setTextMode" to stdio?
Johan Engelen via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jan 14 04:59:59 PST 2016
On Wednesday, 13 January 2016 at 01:48:13 UTC, Jakob Ovrum wrote:
> On Wednesday, 13 January 2016 at 00:13:13 UTC, Johan Engelen
> wrote:
>> Should I work on a PR for setBinaryMode+setTextMode ?
>
> std.stdio is intended as a wrapper around stdio.h, which I
> don't think supports setting the mode post-fopen
I decided to implement a setRawMode, that basically makes
permanent the temporary changes that rawWrite/rawRead do.
PR #3929:
https://github.com/D-Programming-Language/phobos/pull/3929
More information about the Digitalmars-d
mailing list