Auto merge of #408 - kali:master, r=alexcrichton

add MSG_NOSIGNAL (linux, android)

see rust-lang/rust#36426
This commit is contained in:
bors 2016-09-28 09:06:37 -07:00 committed by GitHub
commit b474785561
1 changed files with 2 additions and 0 deletions

View File

@ -468,6 +468,8 @@ pub const IPV6_V6ONLY: ::c_int = 26;
pub const SO_DEBUG: ::c_int = 1; pub const SO_DEBUG: ::c_int = 1;
pub const MSG_NOSIGNAL: ::c_int = 0x4000;
pub const SHUT_RD: ::c_int = 0; pub const SHUT_RD: ::c_int = 0;
pub const SHUT_WR: ::c_int = 1; pub const SHUT_WR: ::c_int = 1;
pub const SHUT_RDWR: ::c_int = 2; pub const SHUT_RDWR: ::c_int = 2;