The following code doesn't work:

int no = fileno(stderr);

The error message is:

test.d(7): Error: function core.stdc.stdio.fileno (shared(_IO_FILE)*) is not callable using argument types (File)

How can I cast stderr to something, that fileno() accepts?

Reply via email to