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
Unix.Unix_error (Unix.EOVERFLOW, "lstat",
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-11-08 (11:27)
From: Johann Spies <jspies@s...>
Subject: Re: [Caml-list] Unix.Unix_error (Unix.EOVERFLOW, "lstat",
On Wed, Nov 08, 2006 at 11:24:24AM +0100, Xavier Leroy wrote:
> > The Unix.stat-functions use integer for file size.  How do I handle
> > files which reports sizes bigger than the maximum integer?
> By using the Unix.Largefile.*stat functions, which use 64-bit integers
> for file size.

Thanks.  For some reason I did not see Largefile before.

Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

     "And whosoever liveth and believeth in me shall never 
      die. Believest thou this?"    John 11:26