1 --- mktemp.3.orig 2008-02-29 10:45:39.000000000 -0800
2 +++ mktemp.3 2008-02-29 11:21:10.000000000 -0800
12 .Nd make temporary file name (unique)
18 -.Fn mktemp "char *template"
23 -.Fn mkstemp "char *template"
30 -.Fn mkstemps "char *template" "int suffixlen"
35 -.Fn mkdtemp "char *template"
52 passes in a read-only string to
59 This is common with programs that were developed before
61 This will ensure that the program does not continue blindly
62 in the event that an attacker has already created the file
63 with the intention of manipulating or reading its contents.
65 +.Fd #include <unistd.h>
67 -The implementation of these functions calls
69 -which is not reentrant.
70 -You must provide your own locking around this and other consumers of the
75 +is necessary and sufficient for all functions.