Skip to content

Commit

Permalink
Auto merge of rust-lang#408 - kali:master, r=alexcrichton
Browse files Browse the repository at this point in the history
add MSG_NOSIGNAL (linux, android)

see rust-lang#36426
  • Loading branch information
bors authored Sep 28, 2016
2 parents 2b8ea09 + 6d940f6 commit b474785
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unix/notbsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,8 @@ pub const IPV6_V6ONLY: ::c_int = 26;

pub const SO_DEBUG: ::c_int = 1;

pub const MSG_NOSIGNAL: ::c_int = 0x4000;

pub const SHUT_RD: ::c_int = 0;
pub const SHUT_WR: ::c_int = 1;
pub const SHUT_RDWR: ::c_int = 2;
Expand Down

0 comments on commit b474785

Please sign in to comment.