Guardian Native C Library Calls Reference Manual (G06.28+, H06.05+)

tmpnam_oss(3) Guardian Native C Library Calls Reference Manual
To use the tmpnam_oss() or tmpnam_guardian() functions, specify the
_TANDEM_SOURCE feature test macro.
RETURN VALUES
If the s parameter is a null pointer, the tmpnam( ) function places its result into an internal static
area and returns a pointer to that area. The next call to this function might modify the contents of
the area.
If the s parameter is not a null pointer, it is assumed to be the address of an array of at least the
number of bytes specied by L_tmpnam. L_tmpnam is a constant dened in the stdio.h header
le. The tmpnam( ) function places its results into that array and returns the value of the s
parameter.
RELATED INFORMATION
Functions: fopen(3), free(3), malloc(3), open(2), tempnam(3), tmple(3), tmpnam(3),
tmpnam_guardian(3), unlink(2).
STANDARDS CONFORMANCE
The tmpnam_oss() function is an HP extension to the XPG4 Version 2 specication.
726 Hewlett-Packard Company 527192-007