title: file locking C programming
body: <p>Hello every one I am making a program using filing I know how to read an write in a file .But please can any one help me about the file read write locks in C programming.Like how to insert lock and how to  release it especially in forking .Please any give a small example or a tutorial as i didn't file any thing about file locks in c</p>
  
  <p>Thanks</p>