This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Problem with stdout BINARY
- To: "Philippe Chapuy" <pchapuy%cgsmail at capgemini dot fr>, "Cygnus gnuwin32" <gnu-win32 at cygnus dot com>
- Subject: Re: Problem with stdout BINARY
- From: "Stephen Crowley" <stephenc at wf dot net>
- Date: Wed, 11 Jun 1997 23:01:44 -0500
I dunno if this is what you are talking about but i use
setmode(fileno(stdout), O_BINARY);
> From: Philippe Chapuy <pchapuy%cgsmail@capgemini.fr>
> To: Cygnus gnuwin32 <gnu-win32@cygnus.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@cygnus.com" with one line of text: "help".