www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/29/05:53:58

Date: Sun, 29 Sep 1996 11:25:06 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Josh Humphries <gt2832b AT prism DOT gatech DOT edu>
Cc: djgpp AT delorie DOT com
Subject: Re: setmode() w/ djgpp v2.0
In-Reply-To: <199609281357.JAA08442@acmey.gatech.edu>
Message-Id: <Pine.SUN.3.91.960929112219.20703R-100000@is>
Mime-Version: 1.0

On Sat, 28 Sep 1996, Josh Humphries wrote:

> The routine setmode (int fd, int mode) is supposed to be able to change
> text files to binary - it did work before (I have a program that ouputs
> binary image data and by default it goes to STDOUT - you can redirect it
> and any LFs wont get CRs appended...). Now it does not even pretend to work.

`setmode' works, and works well.  I just finished to port a lot of GNU 
programs and used it extensively there.  Please post the code fragment 
showing how do you use `setmode' and what tests convinced you that it 
doesn't work.

- Raw text -


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