On 23 Nov 2005 18:27:02 -0800, in comp.lang.c , "Digital Puer"
<di**********@hotmail.com> wrote:
Hi, I have a 13GB file. fopen() is failing on me. The resulting perror
message is: "Value too large to be stored in data type". Can someone
sugggest a solution?
Upgrade to Solaris.... :-)
Do I need to use a new file library?
Its possible you might find a different standard library could handle
larger files. the likely problem is that the filesize is stored in a
long, which on a 32-bit implementation is probably 32 bits ie max of
4GB.
The short answer is that this is very operating system specific, and
you'll need to ask in a group specialising in your OS.
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt>
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----