delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/06/12/01:13:24

From: stephenc AT wf DOT net ("Stephen Crowley")
Subject: Re: Problem with stdout BINARY
12 Jun 1997 01:13:24 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199706120419.XAA20978.cygnus.gnu-win32@odin.wf.net>
Mime-Version: 1.0
Original-To: "Philippe Chapuy" <pchapuy%cgsmail AT capgemini DOT fr>,
"Cygnus gnuwin32" <gnu-win32 AT cygnus DOT com>
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1161
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I dunno if this is what you are talking about but i use

setmode(fileno(stdout), O_BINARY);

> From: Philippe Chapuy <pchapuy%cgsmail AT capgemini DOT fr>
> To: Cygnus gnuwin32 <gnu-win32 AT cygnus DOT com>
> Subject: Problem with stdout BINARY
> Date: Wednesday, June 11, 1997 5:29 AM
>
> Trying to write gif file in stdout with 'putchar'. b18 seems to add a
CRNL
> every CR he
> founds in the file.

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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