This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
filesize function
- To: "Cygwin Mailing List" <cygwin@sourceware.cygnus.com>
- Subject: filesize function
- From: "Reza Habib" <reza@psych.utoronto.ca>
- Date: Sat, 10 Jul 1999 10:37:03 -0400
Hi. I'm using the filesize function from io.h on mingw32 with egcs 1.1.2.
The size reported by the function is incorrect. The exact same line reports
the correct value with either visual c++ or borland c++. Is this a bug in
the mingw32 library? Here is the line:
FILE *datamatfile = fopen(argv[1],"rb");
long length = filelength(fileno(datamatfile));
Thanks.
Reza
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com