From: Bastien Roucariès <ro...@debian.org>

Do not use for documentation purposes the unsecure mktemp function

Signed-off-by: Bastien Roucariès <ro...@debian.org>
---
 man7/environ.7 | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/man7/environ.7 b/man7/environ.7
index 182d823d2..d889310d6 100644
--- a/man7/environ.7
+++ b/man7/environ.7
@@ -191,7 +191,10 @@ and
 .IP *
 .B TMPDIR
 influences the path prefix of names created by
-.BR tempnam (3)
+.BR mktemp (1),
+.BR mkstemp (3),
+.BR mkdtemp (3),
+.BR tmpfile (3),
 and other routines, and the temporary directory used by
 .BR sort (1)
 and other programs.
@@ -289,6 +292,7 @@ should consider renaming their option to
 .BR csh (1),
 .BR env (1),
 .BR login (1),
+.BR mktemp (1),
 .BR printenv (1),
 .BR sh (1),
 .BR tcsh (1),
-- 
2.29.2

Reply via email to