Re: How to know if a file is finished writing or not ?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Jul 06 1998 - 17:45:51 MEST


Wei Xie wrote:
> 
> Dear Rene,
> 
> The file in the example is a root file. How can I manage it
> if it's a binary data file opened by:
> 
>       FILE *fp = fopen("myfile.data","r");
> 

I do not know how to detect if a file (non-Root file) is still
being written by another process.  Probably, there are some Unix
utilities to call. A problem for Unix gurus.

Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:34 MET