Skip to content
Snippets Groups Projects
Commit 4feda87a authored by bors's avatar bors
Browse files

Auto merge of #827 - worr:master, r=alexcrichton

Add WCONTINUED const for OpenBSD

Simple addition of `WCONTINUED` for OpenBSD-like systems. Built nix against this modified libc and used it to test.
parents 68f9959e e83f20bc
No related branches found
No related tags found
No related merge requests found
......@@ -651,6 +651,8 @@ pub const SOCK_CLOEXEC: ::c_int = 0x8000;
pub const SOCK_NONBLOCK: ::c_int = 0x4000;
pub const SOCK_DNS: ::c_int = 0x1000;
pub const WCONTINUED: ::c_int = 8;
f! {
pub fn WIFCONTINUED(status: ::c_int) -> bool {
status & 0o177777 == 0o177777
......
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