Hi,

I am trying to write a signal handler for Ctrl -C.

In main I am registering my signal like this:

signal(SIGINT, testsprite_quit);

and handler is written in some other file which is declared as extern
in my main file.
But on pressing Ctrl - C its not getting called and the process is
getting killed.
What could be the issue, Please suggest.

Regards
Nitin Arora

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [EMAIL PROTECTED]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---

Reply via email to