Hello,
Does anyone have a clue why using setitimer() and SIGALRM won't work if you modify the terminal using termios.h?
Every time I run it I get segfault or the original signal handler (not the one I set).
Just having
struct termios oldTerm, newTerm;
seems to cause trouble.
If I remove that code, it seems to behave just fine.
Anyone have a clue?
BTW, I'm using Ubuntu.