manual page distributed with 4.2BSD
[unix-history] / usr / src / lib / libc / stdio / mktemp.3
.\" @(#)mktemp.3 5.1 (Berkeley) %G%
.\"
.TH MKTEMP 3 "19 January 1983"
.AT 3
.SH NAME
mktemp \- make a unique file name
.SH SYNOPSIS
.nf
.B char *mktemp(template)
.B char *template;
.fi
.SH DESCRIPTION
.I Mktemp
replaces
.I 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.
.SH "SEE ALSO"
getpid(2)