Add W_STOPCODE to construct a stop code
On Linux, `sys/wait.h` defines a `W_STOPCODE` macro to construct a stop
code from the signal number of a stopping signal. Provide an equivalent
function.
Suggested-by:
Ivan Tham <pickfire@riseup.net>
Loading
Please register or sign in to comment