C Programming Question: Cross Operating System, Large File IO?

1 points by phrasz ↗ HN
Does anyone know if there is a decent method to perform cross operating system file I/O for large files (greater than 2GB) that works well on Windows,BSD,Linux,OSX.<p>POSIX's open,read,write,close is great and works on all except Windows. I have found CreateFile,ReadFile,WriteFile, but this is a totally different format in style and data types.<p>Thanks!

1 comment

[ 3.0 ms ] story [ 11.7 ms ] thread
Build with M Cross Environment (http://mxe.cc/) and you get POSIX's open, read, write, close for windows.