home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / c / 18738 < prev    next >
Encoding:
Text File  |  1992-12-21  |  823 b   |  28 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!enterpoop.mit.edu!ira.uka.de!chx400!josef!caliaro
  3. From: caliaro@avalon.physik.unizh.ch (Aurelio Caliaro)
  4. Subject: stderr: Question
  5. Message-ID: <1992Dec21.134608.16856@ifi.unizh.ch>
  6. Summary: redirect fprintf(stderr, ...)
  7. Keywords: fprintf stderr
  8. Sender: news@ifi.unizh.ch (USENET News Admin)
  9. Nntp-Posting-Host: avalon
  10. Organization: University of Zurich, Department of Computer Science
  11. X-Newsreader: Tin 1.1 PL4
  12. Date: Mon, 21 Dec 1992 13:46:08 GMT
  13. Lines: 13
  14.  
  15. Hi all...
  16. I would like to redirect all output made by "fprintf(stderr, ...)" to a
  17. procedure. Is that possible without changing the source everytime that
  18. stderr comes? Maybe a #define?
  19.  
  20.  
  21.                Thank you!
  22.  
  23.  
  24.                      Aurelio Caliaro
  25.  
  26.  
  27. Answers please into this group, or to caliaro@avalon.physik.unizh.ch.
  28.