From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
Subject: Re: Problem with C function 'system()'...
Date: 1995/12/01 [thread overview]
Message-ID: <49lphs$5q3@gap.cco.caltech.edu> (raw)
In-Reply-To: 1995Nov29.152052.60@jenson.demon.co.uk
In article <1995Nov29.152052.60@jenson.demon.co.uk>, paul_h@jenson.com (Paul) writes:
=Seen some replies to this one explaining why it doesn't work, have you tried:
=
= fclose (stdout);
= stdout = fopen (redir_file, "w");
Just out of curiosity, why use fclose() and fopen() when you've got freopen(),
which is there to do exactly what it you're attempting with fclose() and
fopen()?
--------------------------------------------------------------------------------
Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
Disclaimer: Hey, I understand VAXen and VMS. That's what I get paid for. My
understanding of astronomy is purely at the amateur level (or below). So
unless what I'm saying is directly related to VAX/VMS, don't hold me or my
organization responsible for it. If it IS related to VAX/VMS, you can try to
hold me responsible for it, but my organization had nothing to do with it.
next prev parent reply other threads:[~1995-12-01 5:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-11-27 5:00 Problem with C function 'system()' Carl J. Lambrecht
1995-11-29 5:00 ` Brian Hibbert
1995-11-29 5:00 ` Carl J Lydick
1995-11-29 5:00 ` Paul
1995-12-01 5:00 ` Carl J Lydick [this message]
1995-12-04 5:00 ` Paul
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox