HOWTO: Cross-Operating-System Large File IO in C? -
In short: Large file support in cross-operating system, C is bad Target: I am trying to create "One Way" (most likely macro based) to give large file support to 32 bit and 64 bit. Ideally, a # macro wrapper of # ifdef, # (n), define, etc. of Typedef can allow the original large file support as a #include library or set of macros defined. Research: File operations of posics are performing well in BSD / Mac / Linux for 32 and 64 bit IO, which is more than normal 2 ^ 31 size, but With rings or mingow on windows, I can not take advantage of these calls due to M $ Foolish implementation of POSIX (if we want to call it ...) I createFile (), ReadFile (), WriteFile () on Windows I'm leaning towards using, but this method and data Open (the POSIX in terms of Rkaron) / read is completely different use () / write () / (stop) / etc. Question: After beating my head against my keyboard, and many text books, I have decided to see all your people: you guys How do I go / jelly cross os file supports I / O which supports large files? I have a Research Link: It seems, you need a second version of Mingav: The w64 version also has a Linux compatible large file support on the 32b window .
Comments
Post a Comment