i'm executing a C program in unix, is there a way i would be able to capture abnormal termination of the C program. i observed that abnormal termintion results in the segmentation fault message being displayed.
Would i be able to capture the return count in Unix to check for successful or abnormal termination?
Also i would like to know, In Unix what are the cases in which C program encounters a segmentation fault/core dump?
Thanks in advance!!