[APUE] Implement sig2str function.

While here remove forgotten a.out.