disabling and enabling console output
Vladimir Panteleev
thecybershadow.lists at gmail.com
Thu May 16 17:19:13 UTC 2019
On Thursday, 16 May 2019 at 17:18:01 UTC, Alex wrote:
> adding
>
> int dup(int) @trusted;
> int dup2(int, int) @trusted;
> int close(int) @trusted;
> int open(in char*, int, ...) @trusted;
Be sure to make them extern(C).
Sorry, I haven't tried it, I'm guessing that it should work based
on:
https://github.com/digitalmars/dmc/blob/master/include/io.h#L142-L147
More information about the Digitalmars-d-learn
mailing list