title: File locking in Linux using C program
body: <p>I want to create one file from c program and i want use bit long time in my c binary. But i want create file in such way that until my c program finish processing file created and unlock it nobody(may using vim or any other editor) can able to open and read file contents. </p>
  
  <p>Please help me on this thanks in advance.</p>