title: How do I overwrite X bytes on offset Y with fwrite()?
body: <p>All I can find using fopen() and fwrite() in C is to delete all contents and start writing again or append to the end of the file. What if I need to go to some offset in the file and overwrite a few bytes?</p>
  
  <p>Is that possible with some function?</p>