Temporary files

The Interix Software Development Kit (SDK) libraries provide the traditional mkstemp() and mktemp() functions. They also provide the standard functions tempnam() and tmpnam() to create file names suitable for temporary files, and the tmpfile() function to create a temporary file. The tmpnam() function returns a pointer to a temporary file name; tempname() does this as well, but you can also use it to specify the directory and file name prefix.