helpThe alarm function schedules the delivery of a SIGALARM signal in seconds seconds Use “man” to study more on raise, kill, alarm Try the following “test_alarm.cpp” program. //test alarm.cpp #include <signal.h> #include <unistd.h> #include <iostream> using namespace std; //simulates an alarm clock void ding (int sig cout << “Alarm has gone off <endl; //tell child process to wait for 5 seconds before sending //a SIGALRM signal to its parent. int main int pid; cout << “Alarm
OR
OR