Mail Archives: cygwin/1997/03/07/17:37:02
Ron G. Minnich wrote:
>
> On Thu, 6 Mar 1997, Jim Balter wrote:
> > When reading in text mode, cygwin deletes CRs but neglects to read
> > more to fill out the buffer.
>
> reading in text mode? this is a simple
> int fd = open("file", O_RDONLY);
> fd = read(blah blah)
>
> How do you control text mode from that? new options or an fcntl?
> ron
open("file", O_RDONLY|O_BINARY)
or
....; setmode(fd, O_BINARY);
or mount -b ...
Time to read the FAQ, methinks.
--
<J Q B>
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -