no ?perms optional argument<br>
<b>Before 3.11.2 </b> no ?temp_dir optional argument<br>
<b>Raises</b> <code>Sys_error</code> if the file could not be opened.<br>
</div>

<pre><span id="VALget_temp_dir_name"><span class="keyword">val</span> get_temp_dir_name</span> : <code class="type">unit -&gt; string</code></pre><div class="info ">
The name of the temporary directory:
    Under Unix, the value of the <code class="code"><span class="constructor">TMPDIR</span></code> environment variable, or "/tmp"
    if 