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 (10:24)
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