chiark / gitweb /
man: reference $TMPDIR, not $TMP in file-hierarchy(7)
authorLennart Poettering <lennart@poettering.net>
Mon, 30 Jun 2014 22:28:54 +0000 (00:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 30 Jun 2014 22:29:38 +0000 (00:29 +0200)
This what environ(7) and POSIX define, so that's what we should
reference.

man/file-hierarchy.xml

index a096359..fb72693 100644 (file)
                                 certain time are usually automatically
                                 deleted. If applications find the
                                 environment variable
-                                <varname>$TMP</varname> set they
+                                <varname>$TMPDIR</varname> set they
                                 should prefer using the directory
                                 specified in it over directly
                                 referencing
-                                <filename>/tmp</filename>.</para></listitem>
+                                <filename>/tmp</filename> (see <citerefentry><refentrytitle>environ</refentrytitle><manvolnum>7</manvolnum></citerefentry> for details).</para></listitem>
                         </varlistentry>
 
                 </variablelist>
                                 or similar calls should be used to
                                 make use of this directory. If
                                 applications find the environment
-                                variable <varname>$TMP</varname> set
-                                they should prefer using the directory
-                                specified in it over directly
-                                referencing
-                                <filename>/var/tmp</filename>.
+                                variable <varname>$TMPDIR</varname>
+                                set they should prefer using the
+                                directory specified in it over
+                                directly referencing
+                                <filename>/var/tmp</filename> (see <citerefentry><refentrytitle>environ</refentrytitle><manvolnum>7</manvolnum></citerefentry> for details).
                                 </para></listitem>
                         </varlistentry>