[APUE] Exercise for chapter 10.3, signal Function.