Hacker News new | ask | show | jobs
C Programming Question: Cross Operating System, Large File IO?
1 points by phrasz 4443 days ago
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 comments

Build with M Cross Environment (http://mxe.cc/) and you get POSIX's open, read, write, close for windows.