mktemp(3)
NAME
mktemp − make a unique file name
SYNTAX
char *mktemp(template)
char *template;
DESCRIPTION
The mktemp subroutine replaces template by a unique file name, and returns the address of the template. The template should look like a file name with six trailing X’s, which will be replaced with the current process ID and a unique letter.