Skip to content
Snippets Groups Projects
Commit ab2fb241 authored by Radu Popescu's avatar Radu Popescu
Browse files

Adding WIFCONTINUED function on "notbsd" platform

parent cfc01656
No related branches found
No related tags found
No related merge requests found
......@@ -667,6 +667,10 @@ f! {
(status >> 8) & 0xff
}
pub fn WIFCONTINUED(status: ::c_int) -> bool {
status == 0xffff
}
pub fn WIFSIGNALED(status: ::c_int) -> bool {
((status & 0x7f) + 1) as i8 >= 2
}
......
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