./sigtest4
Signal handler invoked !!!. signal type: 5 
Signal handler invoked !!!. signal type: 10 
Signal handler invoked !!!. signal type: 1
$