Mail Archives: djgpp/2001/06/05/02:34:55

Date: Tue, 5 Jun 2001 09:15:53 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "John H.T. HO" <htho AT ms4 DOT url DOT com DOT tw>
cc: djgpp AT delorie DOT com
Subject: Re: Reopen stdout in binary mode
In-Reply-To: <9fhr5s$>
Message-ID: <Pine.SUN.3.91.1010605091423.27602G-100000@is>
MIME-Version: 1.0
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 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.

- Raw text -

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