MKTEMP(3) — System Interface Manual — Subroutines
NAME
mktemp − make a unique file name
SYNOPSIS
char ∗mktemp(template)
char ∗template;
DESCRIPTION
Mktemp 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.
SEE ALSO
Sun System Release 0.3 — 19 January 1983