H06.06 Release Version Update Compendium
Operating System
H06.06 Release Version Update Compendium—542486-001
2-3
Large OSS File Aware and Large OSS File Safe
APIs
•
ftruncate64()
•
lseek64()
•
fcntl()
•
fstat64()
•
lstat64()
•
stat64()
•
fstatvfs64()
•
statvfs64()
•
readdir64()
•
ftw64()
•
nftw64()
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()
•
stat()
•
fstatvfs()
•
statvfs()
•
readdir()
•
ftw()
•
nftw()
•
glob()
These native C run-time library APIs are large OSS file aware:
•
__ns_backup_fopen64()
•
__ns_fopen64_special()
•
fgetpos64()
•
fopen64()
•
fopen64_guardian()
•
fopen64_oss()
•
fopen64_std_file()
•
freopen64()
•
freopen64_guardian()
•
freopen64_oss()
•
fseeko64()
•
fsetpos64()
•
ftello64()