Responding to your ninja edit...
You tried to disprove my claim that the signal handler does get called once <> returns by killing the process before it returns. So you failed. But now, you're compounding that by making stupid assumptions. Stop, and think.
I understand there was some ambiguity in the very first code snippet I showed, which is why I also showed further examples further down in the thread, which you clearly haven't tried to run yourself on a Linux system. Until you do, and actually respond to the points I raised, I'm done with this nonsense. Update: Sorry. Please see my reply here.
In reply to Re^16: Print inside SIGNALS
by haukex
in thread Print inside SIGNALS
by pedrete
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |