C - Managing UNIX System Signals