void signaldemo_test(void) { struct itimerval tv, otv; signal(SIGALRM, sigFunc); //how long to run the first time tv.it_value.tv_sec = ; tv.it_value.tv_usec = ; //after the first time, how long to run next time tv.it_interval.tv_sec = ; tv.it_interva…