manual page distributed with 4.1BSD
[unix-history] / usr / src / lib / libc / stdio / mktemp.3
CommitLineData
93138961
KM
1.\" @(#)mktemp.3 4.1 (Berkeley) %G%
2.\"
3.TH MKTEMP 3
4.AT 3
5.SH NAME
6mktemp \- make a unique file name
7.SH SYNOPSIS
8.nf
9.B char *mktemp(template)
10.B char *template;
11.fi
12.SH DESCRIPTION
13.I Mktemp
14replaces
15.I template
16by a unique file name, and returns the
17address of the template.
18The template should look like a file name with six trailing
19X's, which will be replaced with the
20current process id and a unique letter.
21.SH "SEE ALSO"
22getpid(2)