On Friday, 17 February 2017 at 16:02:39 UTC, berni wrote:
int no = fileno(stderr);
Try fileno(core.stdc.stdio.stderr); to force it to use the C stderr object instead of the D one. Alternatively, fileno(stderr.getFP()) should do it too. http://dpldocs.info/experimental-docs/std.stdio.File.getFP.html