This ports kill(1). While doing this, I have also found that in timeout(1) the conversion from sys_signame to strsignal was wrong because strsignal does not really return what we want it to return (it returns human-readable names). Therefore, import public-domain code to handle this (as there is no portable way to do it otherwise). This is needed in both kill(1) and timeout(1).
Depends on (and includes) https://github.com/dcantrell/bsdutils/pull/38.
This ports kill(1). While doing this, I have also found that in
timeout(1)
the conversion fromsys_signame
tostrsignal
was wrong becausestrsignal
does not really return what we want it to return (it returns human-readable names). Therefore, import public-domain code to handle this (as there is no portable way to do it otherwise). This is needed in bothkill(1)
andtimeout(1)
.