The integrated file system APIs are enhanced to allow your applications to store and manipulate very large files. The integrated file system allows stream file sizes up to approximately 1 TB (1 TB equals approximately 1 099 511 627 776 bytes) in the "root" (/), QOpenSys, and user-defined file systems.
The integrated file system provides a set of 64-bit UNIX-type APIs and allows an easy mapping of existing 32-bit APIs to 64-bit APIs that are capable of accessing large file sizes and offsets by using eight byte integer arguments.
The following situations are provided to allow applications to use large file support:
The applications that intend to use the large file support can either define _LARGE_FILE_API at compile time and code directly to the 64-bit APIs, or they can define _LARGE_FILES at compile time. All the appropriate APIs and data structures are then mapped to the 64-bit version automatically.
Applications that do not intend to use the large file support are not impacted and can continue to use integrated file system APIs without any changes.