which-sig
Print which signal caused a program to exit with the given status code.