Fw: fwrite/fread problem

Mumit Khan khan@xraylith.wisc.edu
Tue May 12 12:37:00 GMT 1998


Mitch,

You need to specify the binary flag to get things to work correctly.
ReaderBinary should be "rb", WriterBinary "wb+" etc.

OpenNT quite possibly forces all I/O to be binary, so it works correctly.
I know UWIN does it that way.

Mumit

ps: It whould be nice if you could keep your email free of the HTML crud
which is unnecessary and quite annoying. 
-
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