I\'m in the first chapter of Advanced Programming in the UNIX Environment 2nd ed. and implemented the program in fig 1.10 using sigaction() instead of sig
sigaction()
sig