home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / c / 11595 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  550 b 

  1. Path: sparky!uunet!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!casbah.acns.nwu.edu!tindall
  2. From: tindall@casbah.acns.nwu.edu (Mike Tindall)
  3. Newsgroups: comp.lang.c
  4. Subject: redirecting stdout
  5. Message-ID: <1992Jul25.184724.27204@news.acns.nwu.edu>
  6. Date: 25 Jul 92 18:47:24 GMT
  7. Sender: usenet@news.acns.nwu.edu (Usenet on news.acns)
  8. Organization: Northwestern University, Evanston Illinois.
  9. Lines: 3
  10.  
  11.  
  12.     How can  I return stdout to printing to the screen after  redirecting
  13. it to a file using out_file=freopen("fname","w",stdout)?
  14.