title: How do I insert and delete some characters in the middle of a file?
body: <p>I want to insert and delete some chars in the middle of a file. </p>
  
  <p>fopen() and fdopen() just allow to append at the end. </p>
  
  <p>Is there any simple method or existing library that allow these actions?</p>