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

Popular posts from this blog

c# - PInvoke of NetUserAdd returns 24 -

c# - XMLDocument.Validate Error: System.InvalidOperationException : The XmlSchemaSet on the document is either null or has no schemas in it -