summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/tmpnam.3
diff options
context:
space:
mode:
authorMike Heffner <mikeh@FreeBSD.org>2001-07-07 04:08:32 +0000
committerMike Heffner <mikeh@FreeBSD.org>2001-07-07 04:08:32 +0000
commit0bada8603d59cf4f15ff6b20a27c4137b9c0abe6 (patch)
treecc997c2d3a4f00b959b407f792b10bf5cc6500f5 /lib/libc/stdio/tmpnam.3
parent3b2b0a59d0efe3815d9a0938dfe95b13f39f4c0e (diff)
Notes
Diffstat (limited to 'lib/libc/stdio/tmpnam.3')
-rw-r--r--lib/libc/stdio/tmpnam.37
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/stdio/tmpnam.3 b/lib/libc/stdio/tmpnam.3
index ed71236223de..0c4e861c25ed 100644
--- a/lib/libc/stdio/tmpnam.3
+++ b/lib/libc/stdio/tmpnam.3
@@ -67,6 +67,13 @@ returns, causing the file to be automatically deleted when the last
reference to it is closed.
The file is opened with the access value
.Ql w+ .
+The file is created in the directory determined by the environment variable
+.Ev TMPDIR
+if set.
+The default location if
+.Ev TMPDIR
+is not set is
+.Pa /tmp .
.Pp
The
.Fn tmpnam