Closed dcb314 closed 8 years ago
i agree the code isn't exactly clear, or perhaps that common in current style practices, but the code as-written is correct. fgnd_flag
is a flag variable and is described earlier:
int fgnd_flag = 0; /* Running in background (SIGINT=SIGIGN) */
it is not holding the previous signal disposition.
Source code is
Maybe better code