If I use fwrite to write a file that contains a single 64bit binary integer, the filesize is 8 bytes, which is what I expect. If I use fwrite in a loop to write a file that contains 1000 64bit binary integers, the filesize is 8026 bytes. Where do the extra 26 bytes come from?
This is on Windows XP SP3 using NTFS on a WD 750GB hard drive.