.\" @(#)mktemp.3 6.1 (Berkeley) %G%
mktemp \- make a unique file name
.B char *mktemp(template)
by a unique file name, and returns the
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.
makes the same replacement to the template but returns an open file descriptor
for the template file suitable for reading or writing.
avoids the potential race between the creation of the unique
file name and its being opened for use.