Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Xavier Leroy <Xavier.Leroy@i...>
Subject: Re: [Caml-list] Unix.Unix_error (Unix.EOVERFLOW, "lstat",
> 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.

- Xavier Leroy