Re: How To Redirect STDERR to /dev/null programmatically
- From: Hongli Lai <h lai chello nl>
- To: Harsha Kodnad <harsha km tallysolutions com>
- Cc: GNOME <gnome-devel-list gnome org>, GTK <gtk-app-devel-list gnome org>
- Subject: Re: How To Redirect STDERR to /dev/null programmatically
- Date: Fri, 27 Aug 2004 16:42:44 +0200
Harsha Kodnad wrote:
Hi,
Anybody please tell me how to direct my application's STDERR to
/dev/null programmatically. in a C program.
freopen("/dev/null", "w", STDERR);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]