mirror of https://github.com/mkerrisk/man-pages
mktemp.3: Reference mkdtemp(3) in addition to mkstemp(3)
Mention mkdtemp(3) as another secure alternative to mktemp(3). See also https://sourceware.org/bugzilla/show_bug.cgi?id=2898. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
f0d0f68dc8
commit
9b44ad2028
|
@ -126,8 +126,10 @@ opening the file, every use of
|
|||
.BR mktemp ()
|
||||
is a security risk.
|
||||
The race is avoided by
|
||||
.BR mkstemp (3).
|
||||
.BR mkstemp (3) and
|
||||
.BR mkdtemp (3).
|
||||
.SH SEE ALSO
|
||||
.BR mkdtemp (3),
|
||||
.BR mkstemp (3),
|
||||
.BR tempnam (3),
|
||||
.BR tmpfile (3),
|
||||
|
|
Loading…
Reference in New Issue