Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
OSS Library Calls (t - v) tmpfile64_guardian(3)
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.
527187-017 Hewlett-Packard Company 7−41