Skip to content
Snippets Groups Projects
Commit 57298d06 authored by Josh Triplett's avatar Josh Triplett
Browse files

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: default avatarIvan Tham <pickfire@riseup.net>
parent 631da86c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment