title: fread different behaviour on windows VS Linux
body: <p>I read 8 bytes each time from a file.</p>
  
  <p>the problem is in Windows, when It comes to the last bytes - it finds it less than 8 bytes so fread don't work and returns 0 . so I miss one or more characters from the file.</p>
  
  <p>This behaviour doesn't happen in Linux with the same code.</p>
  
  <p>How can I avoid this ?</p>