Problem with stdout BINARY

Philippe Chapuy pchapuy%cgsmail@capgemini.fr
Wed Jun 11 07:56:00 GMT 1997


Hi everybody,

Trying to write gif file in stdout with 'putchar'. b18 seems to add a CRNL
every CR he
founds in the file.

I tried some code like:

struct termios p ;

if (tcgetattr (fileno(stdout), &p)) return;
p.c_oflag = 0 ;
if (tcsetattr (fileno(stdout), TCSANOW, &p)) return;

putchar(....

but, sniff, no longer work.

If someone has an idea...

Best regards.

Phil :-)


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



More information about the Cygwin mailing list