Open System Services Porting Guide (G06.29+, H06.06+, J06.03+)
ftruncate64()
lseek64()
fcntl()
fstat64()
lstat64()
stat64()
fstatvfs64()
statvfs64()
readdir64()
ftw64()
nftw64()
glob()
The large file aware native C runtime library APIs are:
__ns_backup_fopen64()
__ns_fopen64_special()
fgetpos64()
fopen64()
fopen64_guardian()
fopen64_oss()
fopen64_std_file()
freopen64()
freopen64_guardian()
freopen64_oss()
fseeko64()
fsetpos64()
ftello64()
scandir64()
tmpfile64()
tmpfile64_guardian()
tmpfile64_oss()
The native C++ runtime libraries do not have new 64-bit specific APIs in the C++ library products.
However, the logic implementing IOStream classes is enhanced to be:
• Large OSS file safe for programs built with the regular compilation environment
• Large OSS file aware for programs built with the large file compilation environment (that is,
macro _FILE_OFFSET_BITS is defined to have value 64.)
For more information about accessing OSS files larger than approximately 2 gigabytes, see the
Open System Services Programmer’s Guide and the reference pages for the large file aware
functions.
OSS ACL Functions
Functions that support OSS access control lists (ACLs) are based on the HP-UX implementation and
Information Technology – Portable Operating System Interface (POSIX) – Part 1: System Application
Program Interface (API) Amendment #: Protection, Audit, and Control Interfaces [C Language] (IEEE
Draft P1003.1e), October 1997. OSS ACLs are supported for directories, regular files, first-in,
first-out (FIFO) special files, and bound AF_UNIX sockets in Version 3 OSS filesets.
The The HP extension OSS ACL functions and commands are:
Sets access control list information for a file.acl()
Sorts and access control list.aclsort()
Using HP Extensions 133