One can incidentally terminate sushi by pressingCtrl+C
(Ctrl+Break, Command+dot) or a similar combination ofkeys that sends
SIGNIT to the shell. Function prevent_interruption()sets up a signal
handler that intercepts SIGINT and displays message“Type exit to
exit the shell” on stderr. The name of the handleris
refuse_to_die(), its skeleton and the skeletonof
prevent_interruption() are provided in sushi.c. Hint:use system call
sigaction() to set up the handler. As a result, whenyou attempt to
interrupt the shell, it will display the message andcontinue.
II. (Non-actionable.) File sushi_yyparser.y has beenrefactored for
clarity.
PayPal Gateway not configured
PayPal Gateway not configured