Commit | Line | Data |
---|---|---|
93138961 KM |
1 | .\" @(#)mktemp.3 4.1 (Berkeley) %G% |
2 | .\" | |
3 | .TH MKTEMP 3 | |
4 | .AT 3 | |
5 | .SH NAME | |
6 | mktemp \- 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 | |
14 | replaces | |
15 | .I template | |
16 | by a unique file name, and returns the | |
17 | address of the template. | |
18 | The template should look like a file name with six trailing | |
19 | X's, which will be replaced with the | |
20 | current process id and a unique letter. | |
21 | .SH "SEE ALSO" | |
22 | getpid(2) |