The standard library Trap_Control_C api defines access to 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 api is implemented by the trap_control_c package.
The Trap_Control_C api source code is in src/lib/std/trap-control-c.pkg.
The above information is manually maintained and may contain errors.
api { exception CONTROL_C_SIGNAL; catch_interrupt_signal : (Void -> Void) -> Void;};