Version française
Home     About     Download     Resources     Contact us    
Browse thread
How to monitor a specific file for changes
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Dave Benjamin <dave@r...>
Subject: Re: [Caml-list] How to monitor a specific file for changes
Orlin Grigorov wrote:
> Using "Unix.stat" works perfectly for my purpose!   On both platforms,
> hurray!    THANK YOU!

You may wish to consider "Unix.LargeFile.stat" if there is the 
possibility that some of these files may be large, since st_size 
contains the file size in bytes. Unix.st_size is an int, whereas 
Unix.LargeFile.st_size is an int64.

Dave