delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2012/05/04/18:30:16

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: =?ISO-8859-1?Q?Hans-Bernhard_Br=F6ker?= <HBBroeker AT t-online DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: freopen
Date: Sat, 05 May 2012 00:15:20 +0200
Lines: 7
Message-ID: <a0j2npFlg6U1@mid.dfncis.de>
References: <4182049f-12cf-4935-892b-daeaac0f3fd8 AT v2g2000vbx DOT googlegroups DOT com>
Mime-Version: 1.0
X-Trace: news.dfncis.de idmqilG27k0tWgW0CzpgWwUY/YMnHAUVch2PrRX4UXKnVTSf27udUk1NWkgZK6aX/qarjxulpq
Cancel-Lock: sha1:O+8EJUvHugdIdUOQ3m234PJCjqc=
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120420 Thunderbird/12.0
In-Reply-To: <4182049f-12cf-4935-892b-daeaac0f3fd8@v2g2000vbx.googlegroups.com>
Bytes: 1265
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 04.05.2012 21:41, Georg wrote:

> All works fine, just the message "here4" does not appear on the
> screen. How do I properly close the file "stdout.dat"?

You already did.  Read the description of freopen() again: what does it 
say happens to the file you pass as an argument to freopen()?

- Raw text -


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