2012-04-27

Linux C: Suppress stderr

I had to suppress the standard error output for a while. An external library wrote to it, and I wanted to hide that.

The following code snippets introduces this:




BEFORE



PUT YOUR CODE HERE

AFTER



0 comments:

Post a Comment

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Top WordPress Themes