Re: How To Redirect STDERR to /dev/null programmatically



Harsha Kodnad wrote:

Anybody please tell me how to direct my application's STDERR
to /dev/null programmatically. in a C program. 

I want to inhibit all warnings or errors generated by my
application or shared libraries I am using by doing this at
my program initialization.

Well, the Right Thing is to fix the warnings instead.
GTK+/Glib don't fire them for no reason.

Paul



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]