#include <stdio.h>
#include <signal.h>

void SignalHandler(int signal)
{
    printf("Application aborting...\n");
}
int main()
{
    typedef void (*SignalHandlerPointer)(int);
    SignalHandlerPointer previousHandler;
previousHandler = signal(SIGINT, SignalHandler);
	if(previousHandler=SIG_IGN)
        raise(SIGINT); 
   return 0;  
}


