G06.29 Release Version Update Compendium
Operating System
G06.29 Release Version Update Compendium—542946-001
2-4
Large OSS File Aware and Large OSS File Safe
APIs
As of G06.29, these SUT-based applications are large OSS file aware:
•
Backup and Restore 2
•
DSAP/DCOM
•
FUP
•
iTP Webserver
•
FTP
•
C/C++ compiler
•
COBOL compiler
•
OSS utilities and unsupported utilities
All other OSS applications (including utilities, tools, or libraries) are large OSS file safe
for G06.29 and later RVUs.
Large OSS File Aware and Large OSS File Safe APIs
To support OSS files larger than 2 GB, new 64-bit file I/O APIs are available. These
APIs can handle files larger than 2 GB and files smaller than 2 GB. The large OSS file
aware I/O APIs include:
•
creat64()
•
open64()
•
ftruncate64()
•
lseek64()
•
fcntl()
•
fstat64()
•
lstat64()
•
stat64()
•
fstatvfs64()
•
statvfs64()
•
readdir64()
•
ftw64()
•
nftw64()
•
glob()
Existing file I/O APIs are modified to fail safely on OSS files larger than 2 GB. These
APIs return an error (EOVERFLOW or EFBIG) when an action cannot be performed on
OSS files larger than 2 GB or an attribute cannot be represented for such a file. The
large OSS file safe I/O APIs include:
•
creat()
•
open()
•
read()
•
write()
•
ftruncate()
•
lseek()
•
fcntl()
•
fstat()
•
lstat()