Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Re: [Caml-list] error opening large file
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: David Monniaux <David.Monniaux@e...>
Subject: Re: [Caml-list] error opening large file
On Sat, 12 Jan 2002, Florian Douetteau wrote:

> The maximal positive integer of type 'int' is about 2.1E9
> I guess the overflow causes the problem.

It may be a good idea to have another set of file handling functions using
the int64 type for sizes and offsets, using the appropriate 64-bit
system library functions.

David Monniaux  
Laboratoire d'informatique de l'École Normale Supérieure,
Paris, France

Bug reports:  FAQ:
To unsubscribe, mail  Archives: