I'm writing a GUI program on Windows which needs to call some functions implemented in an external C library. Unfortunately, these functions print out messages into
stderr then I need to redirect/capture them to my own handler.
But I still don't know how to obtain these C's IO handler in Rust. Many thanks for any help.