Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
Guardian Native C Library Calls (t - z) tmpfile64(3)
NAME
tmpfile64 - Creates a temporary file
LIBRARY
G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL
G-series native OSS processes: /G/system/sysnn/zcrtlsrl
H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll
DESCRIPTION
The C run-time library supports two variants of the tmpfile64() function: tmpfile64_oss() and
tmpfile64_guardian(). The variants support the unique file-naming conventions and structures
of the OSS and Guardian file systems, respectively. These variants support OSS files that have a
file offset maximum larger than 2 gigabytes and Guardian files that have a file offset maximum
larger than 4 gigabytes (Guardian Format 2 files), respectively.
An application can explicitly call this function when you compile the application using the
#define _LARGEFILE64_SOURCE 1 feature test macro or an equivalent compiler command
option.
An application call to tmpfile() is automatically mapped to this function you compile the appli-
cation using the #define _FILE_OFFSET_BITS 64 feature test macro or an equivalent compiler
command option.
Explicit calls to the tmpfile64_oss() and tmpfile64_guardian() variants in source code are only
made when the behavior of one environment is desired from the other environment.
For a description of the tmpfile64( ) OSS function and the tmpfile64_oss() function, see the
tmpfile64_oss(3) reference page. For a description of the tmpfile64( ) Guardian function and the
tmpfile64_guardian() function, see the tmpfile64_guardian(3) reference page.
527192-018 Hewlett-Packard Company 7−21