linux - How to check if a file has been opened by another application in C++? -


I know that is_open () function in C ++, but I have a program Should check that no other application has opened the file or is there any way to use the standard library?

Edit - The answer is obvious that it is for a Linux application.

No, there is no such functionality in the standard library.


Comments