How To Redirect STDERR to /dev/null programmatically

    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.
Thanks in advance
Harsha Kodnad
Senior Software Engineer
Tally Solutions Pvt. Ltd.
Ph     : +91 80 302 82559 Ext : 327
Email :  harsha km tallysolutions com

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