SIGUSR1 not received

view story

http://stackoverflow.com – This is my first Program....ctrlcsignal.c enter code here #include<stdio.h> #include<unistd.h> #include<signal.h> void signal_handler(int sigNo) { //if Ctrl+c signal if(sigNo==SIGINT){ printf("value of SIGINT:-%d\t",SIGINT); printf("received SIGINT\n"); } // if some other signal , but this part wont get executed // as the signal_handler function is registered with SIGINT only else { printf("Some other signal found"); printf("value of other signal:-%d",sigNo); } } int main(void) { //registering the signal handler function with a signal kill(19574 (HowTos)