Re: How to know if a file is finished writing or not ?
Rene Brun (Rene.Brun@cern.ch)
Mon, 06 Jul 1998 17:45:51 +0200
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