tempnam() takes the TMPDIR environment variable into account, unlike tmpnam(), which always creates pathnames within /tmp. Signed-off-by: Jakub Wilk <jwilk@xxxxxxxxx> --- man7/environ.7 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man7/environ.7 b/man7/environ.7 index a6b4fc14d..366a1e017 100644 --- a/man7/environ.7 +++ b/man7/environ.7 @@ -186,7 +186,7 @@ and .IP * .B TMPDIR influences the path prefix of names created by -.BR tmpnam (3) +.BR tempnam (3) and other routines, and the temporary directory used by .BR sort (1) and other programs. -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html