System.tmp_dir
You're seeing just the function
tmp_dir
, go back to System module for more information.
Specs
tmp_dir() :: String.t() | nil
Writable temporary directory.
Returns a writable temporary directory. Searches for directories in the following order:
- the directory named by the TMPDIR environment variable
- the directory named by the TEMP environment variable
- the directory named by the TMP environment variable
C:\TMP
on Windows or/tmp
on Unix-like operating systems- as a last resort, the current working directory
Returns nil
if none of the above are writable.