www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/10/10:55:22

From: Doug Eleveld <D DOT J DOT Eleveld AT anest DOT azg DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: Can I catch stderr output in my own code?
Date: 10 Apr 1997 09:40:06 GMT
Organization: Rijksuniversiteit Groningen
Lines: 14
Message-ID: <5iichm$418@info.service.rug.nl>
NNTP-Posting-Host: cmb10.med.rug.nl
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello Everyone,

I' know how to redirect stderr to a file and such, but what I'd like
to do is have my program process all the text that would normally
go to stderr (or stdout or from stdin) and display it in a window
in graphics mode.  Do I have to take over a FILE* and then redirect to 
that FILE*?  Is there a more sensible way?  Does anyone do this kind of 
stuff with DJGPP?

Thanks in advance,

Doug Eleveld


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019