tmpfile
(3)create a temporary file
#include <stdio.h> FILE *tmpfile(void);
LIBRARY
DESCRIPTION
RETURN VALUE
ERRORS
- EACCES
- Search permission denied for directory in file's path prefix.
- EEXIST
- Unable to generate a unique filename.
- EINTR
- The call was interrupted by a signal; see signal(7).
- EMFILE
- The per-process limit on the number of open file descriptors has been reached.
- ENFILE
- The system-wide limit on the total number of open files has been reached.
- ENOSPC
- There was no room in the directory to add the new filename.
- EROFS
- Read-only filesystem.