News for hackers. Stuff that matters.

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

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 | on HN )
Re:C Programming Question: Cross Operating System, Large Fil... by pwg on Wednesday April 23, 2014 @08:46PM (#7637912)
Build with M Cross Environment (http://mxe.cc/) and you get POSIX's open, read, write, close for windows.