//janetdocs.org/os/shell">Community Examples</a></div><hr><div class="binding"><span id="os/sigaction" class="binding-sym">os/sigaction</span> <span class="binding-type">cfunction</span> <span class="binding-type"><a href="https://github.com/janet-lang/janet/blob/4e5889e/src/core/os.c#L857">source</a></span> <pre class="binding-text">(os/sigaction which &amp;opt handler interrupt-interpreter)

Add a signal handler for a given action. Use nil for the `handler` argument to remove a signal handler. All signal 