Wikipedia
Mkstemp
In computing, '''mkstemp''' is a POSIX function for creating a temporary file (a computer file which usually ceases to exist when the program, which opened the file, closes it or terminates).