This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with stdout BINARY


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]