Io module

catch_interrupts

procedure · 1 overloadSource

Makes SIGINT and SIGTERM set the flag interrupted reads, instead of ending the process. The handler is installed once for the whole program; calling this again does nothing.

catch_interrupts :: ()

Makes SIGINT and SIGTERM set the flag interrupted reads, instead of ending the process. The handler is installed once for the whole program; calling this again does nothing.

See also