On Saturday, 10 May 2014 at 20:24:50 UTC, MarisaLovesUsAll wrote:
Hi!
I sometimes got a useless messages in stdout from SDL_Image
library, and I want to temporary silence it. How do I do?

Are you sure it's stdout, not stderr? For the latter, you would need to redirect FD 2, not FD 1:

    ...
    auto ex = PushFD!2("/dev/null".ptr);
    ...

Reply via email to