timed event linux code example Example: printf not working after signal() Try fflush(stdout) after printf().