I know, that there\'s the is_open() function in C++, but I want one program to check if a file hasn\'t been opened by another application. Is there any way to d
is_open()
There's a command-line too and API that have been added to the Linux kernel and do just that: inotify.
Here's the man page.