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