The standard library trap_control_c package implements functionality allowing a program to convert the posix INT signal, typically generated by typing control-C at the commandline, into a CONTROL_C_SIGNAL exception which can then be handled by the program using normal Mythryl exception handling facilities.
The trap_control_c package implemented the Trap_Control_C api.
The trap_control_c package source code is in src/lib/std/trap-control-c.pkg.
The above information is manually maintained and may contain errors.
api { catch_interrupt_signal : (Void -> Void) -> interprocess_signals::Signal_Action; exception CONTROL_C_SIGNAL;};