Date: Tue, 5 Jun 2001 09:15:53 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: "John H.T. HO" cc: djgpp AT delorie DOT com Subject: Re: Reopen stdout in binary mode In-Reply-To: <9fhr5s$79u@netnews.hinet.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk On Tue, 5 Jun 2001, John H.T. HO wrote: > Is there a way to reopen the "stdout" in binary mode? You don't want to reopen stdout, you want to switch it to binary mode. This is possible with the library function `setmode', which is documented in the library reference manual.