Browse thread
How to monitor a specific file for changes
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Orlin Grigorov <ogrigorov@g...> |
| Subject: | Re: [Caml-list] How to monitor a specific file for changes |
Thanks Dave. Actually, the files are not large, these are output text files from another program, and I can't imagine a situation where the byte size can exceed a 32 bit integer. Best, Orlin On 10/23/07, Dave Benjamin <dave@ramenlabs.com> wrote: > > 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 >