type">cfunction</span> <span class="binding-type"><a href="https://github.com/janet-lang/janet/blob/4e5889e/src/core/os.c#L234">source</a></span> <pre class="binding-text">(os/exit &amp;opt x)

Exit from janet with an exit code equal to x. If x is not an integer, the exit with status equal the hash of x.</pre><a href="https://janetdocs.org/os/exit">Community Examples</a></div><hr><div class="binding"><span id="os/getenv" class="binding-sym">os/getenv</span> <span class="binding-type">cfunction</span> <span 