Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

tmpnam(3) OSS Library Calls Reference Manual
NAME
tmpnam - Constructs the name for 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 tmpnam( ) function: tmpnam_oss( ) and
tmpnam_guardian( ). The variants support the unique file naming conventions and structures of
the OSS and Guardian file systems, respectively.
The header le maps calls to tmpnam( ) to the variant that matches the target compilation
environment. The target environment is set with the systype pragma.
Explicit calls to the tmpnam_oss( ) and tmpnam_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 tmpnam( ) OSS function and the tmpnam_oss( ) function, refer to the
tmpnam_oss(3) reference page. For a description of the tmpnam( ) Guardian function and the
tmpnam_guardian( ) function, refer to the tmpnam_guardian(3) reference page.
748 Hewlett-Packard Company 527187-017