title: Truncate file open with fopen
body: <p>It's been a long time since I've had to use this... How can I can truncate the file open with <code>fopen()</code> at the current file pointer?</p>
  
  <p>I am on Windows if there is no universal solution.</p>