title: How to check if a file is already open by another process in C?
body: <p>I see that standard C has no way of telling if a file is already opened in another process. So the answer should contain several examples for each platform. I need that check for Visual C++ / Windows though.</p>