For POSIX-based operating systems, an implementation might
return the path
supplied by the first environment variable found in the list TMPDIR, TMP, TEMP, TEMPDIR,
or if none of these are found, "/tmp".
For Windows-based operating systems, an implementation might return the path
reported by the Windows GetTempPath API function.