Calling `exit()` from an interrupt handler
Hello @tkchia, I'm looking at making some changes to https://github.com/FDOS/label, but before I start I see a warning during compilation with ia16gcc.
label.c: In function ‘ctrlc_hndlr’:
label.c:227:5: warning: calling assume_ss_data function when %ss may not point to data segment [-Wmaybe-uninitialized]
exit(0); /* we can ignore the Turbo C suggestion for interrupt, */
^
Essentially, is it valid to call exit()
from an interrupt handler?
Thank you!
Edited by TK Chia