gcc for WinNT

Sergey Okhapkin sos@prospect.com.ru
Fri Mar 7 00:05:00 GMT 1997


Ron G. Minnich wrote:
> One thing I have seen: file i/o does not always works as it does on unix. 
> For example, reading from a file, 1024 bytes at a time, with a file of 
> 65536 bytes, will get me return values of:
> 1023, 1021, 1015, etc. Almost always 1024, but enough of these oddballs 

You should open the file in binary mode.

-- 
Sergey Okhapkin
Moscow, Russia
Looking for a job.


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



More information about the Cygwin mailing list