Hi, I had to write a trivial database program using first principles with the C standard library. I wrote and tested the program on windows in binary mode, because I thought the C standard library was cross platform. However, when I compile the code on linux there seems to be some kind of differences because the database is failing to write the correct bytes to the file. I haven't determined what is causing the failure, that could take some serious time. So what I was hoping was if someone knows of all the differences between windows and linux when it comes to file i/o they could maybe point me in the right direction..
Primarily all i am using is fseek, fwrite, fread, and ftell
Can someone at least confirm that they are aware of differences between windows and linux support of these functions?
Thanks in advance.