unctions are run in the reverse order in which they were registered.</p></dd></dl><dl><dt class="spec value" id="val-register_late"><a href="#val-register_late" class="anchor"></a><code><span class="keyword">val</span> register_late : <span>f:<span>(unit <span>&#45;&gt;</span> unit)</span></span> <span>&#45;&gt;</span> <span>description:string</span> <span>&#45;&gt;</span> unit</code></dt><dd><p>Register a function to run when the program exits or is interrupted. Registered functions are run in the reverse 