I'm trying to catch either CTRL+D or the CTRL+C char in unix using the signal function. However I'm totally clueless since I've got little experience using C++ and even less experience with UNIX.
So what would be the correct approach to make sure these characters or commands whatever you want to call them, are not used by unix but only by my program?