Open System Services Programmer's Guide

The existing Native C run-time library APIs modified to be large file safe are:
fclose()
fflush()
fgetc()
fgetpos()
fgets()
fgetwc()
fgetws()
fopen_oss()
fprintf()
fputc()
fputs()
fputwc()
fputws()
fread()
freopen_oss()
fwrite()
fscanf()
fseek()
fsetpos()
ftell()
getc()
getchar()
gets()
getw()
getwc()
getws()
getwchar()
printf()
putc()
putchar()
puts()
putw()
putws()
putwchar()
scanf()
vfprintf()
vprintf()
In addition, HP supports two new 32-bit LFS APIs, fseeko() and ftello(), because fseek()
and ftell() use data types that cannot be extended to support large files.
Functions added in J-series RVUs or in RVUs later than H06.06 or G06.29 are either large file
aware or large file safe.
Large File Aware APIs
For J-series RVUs, H06.06 and later H-series RVUs, and G06.29 and later G-series RVUs, new
64-bit APIs are available. These large file aware APIs support both small files and large files.
Typically, the 64-bit APIs include the number 64 in the name of the API.
Beginning with the H06.24 and J06.13 RVUs, 64-bit OSS programs (compiled with the LP64 data
model) are large file aware by default and the 32-bit programmatic interfaces are mapped to their
64-bit counterparts.
80 Managing Files