I am trying to get a process to ignore SIGINT. I have set the handler to an empty function, but the program still ends when I press CTRL+C. I put a call to puts inside the handler and it was executed. exit is not being called anywhere so I do not think that it makes sense that my program is ending. Here is some code that illustrates very basically what my program is doing. I can show more if necessary: https://pastebin.com/0vD5TseN
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.