Open System Services Library Calls Reference Manual (G06.28+, H06.05+)
tmpfile64_guardian(3) OSS Library Calls Ref
erence Manual
RETURN VALUES
Upon successful completion, the tmpfile64() function returns a pointer to the stream of the file
that is created. Otherwise, it returns a null pointer, and sets errno to indicate the error.
ERRORS
If any of these conditions occurs, the tmpfile64( ) function sets errno to the corresponding value:
[EMFILE] The OPEN_MAX file descriptors are currently open in the calling process.
[ENFILE] Too many files are currently open in the processor.
[ENOMEM] Insufficient storage space is available.
RELATED INFORMATION
Functions: fopen64(3), tmpfile64(3), tmpfile64_oss(3), tmpnam(3), unlink(2).
STANDARDS CONFORMANCE
The tmpfile64_guardian() function is an HP extension to the XPG4 Version 2 specification.
7−34 Hewlett-Packard Company 527187-007