I do open large files with fopen under c with a kind-of observed folder logic. I'd like to fopen (or at least to fread) the file as soon as it has been copied completely to my observed folder.
How can i detect if another process is writing to a file? Is that possible with standard-c?
Thanks