title: Deleting a possibly locked file in c
body: <p>I am using fcntl locks in <strong>C</strong> on linux and have a dilemma of trying to delete a file that may possibly be locked from other processes that also check for the fcntl locking mechanism. What would be the preferred way of handling this file which must be deleted, (Should I simply delete the file without regard of other processes that may have reader locks or is there a better way)? 
  Any help would be much appreciated.</p>