fread

Fergus Henderson fjh@cs.mu.oz.au
Thu Sep 4 21:18:00 GMT 1997


Ian Collins <Ian@kiwiplan.co.nz> wrote:

>Is there any known problem with the fread system call in b18?
>
>It doesn't appear to be returning the correct number of bytes read.

Try opening the file in binary mode (e.g. `fopen(file, "rb")')
or mount the filesystem in binary mode.

--
Fergus Henderson <fjh@cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: < http://www.cs.mu.oz.au/~fjh >   |  of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3         |     -- the last words of T. S. Garp.
-
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