Re: Redirecting stdout and stderr
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Redirecting stdout and stderr
- From: Sam Roberts <vieuxtech@...>
- Date: Thu, 8 Nov 2012 09:25:29 -0800
print() uses stdio directly (it calls fputs).
If you want to direct it elsewhere than stdout, you need to redefine
it globally, or use freopen() from C to make stdout go elsewhere.
Sam