How to write a signal handler to catch SIGSEGV? How to write a signal handler to catch SIGSEGV? c c