LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   how ctrl+c works to terminate a process (http://www.linuxquestions.org/questions/linux-general-1/how-ctrl-c-works-to-terminate-a-process-680608/)

rithik_ghoshal 11-02-2008 05:15 AM

how ctrl+c works to terminate a process
 
Sorry if I am posting in a wrong place. I need to know how ctrl+c works in command line to terminate a process ? I have some idea about signal handling but not much. Can you give me some idea ?

pinniped 11-02-2008 05:29 AM

The process is sent SIGINT; if the process does not handle (or disable) the signal, it is immediately killed, otherwise you can handle the signal and do whatever you want.

rithik_ghoshal 11-02-2008 08:01 AM

Thank you ..


All times are GMT -5. The time now is 01:28 PM.