MKTEMP(3)
NAME
mktemp − make a unique filename
USAGE
char *mktemp(template)
char *template;
DESCRIPTION
Mktemp replaces template by a unique filename, and returns the address of the template. The template should look like a filename with six trailing Xs, which will be replaced with the current process ID and a unique letter.