Skip to content

Commit b474785

Browse files
authored
Auto merge of #408 - kali:master, r=alexcrichton
add MSG_NOSIGNAL (linux, android) see rust-lang/rust#36426
2 parents 2b8ea09 + 6d940f6 commit b474785

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/notbsd/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,8 @@ pub const IPV6_V6ONLY: ::c_int = 26;
468468

469469
pub const SO_DEBUG: ::c_int = 1;
470470

471+
pub const MSG_NOSIGNAL: ::c_int = 0x4000;
472+
471473
pub const SHUT_RD: ::c_int = 0;
472474
pub const SHUT_WR: ::c_int = 1;
473475
pub const SHUT_RDWR: ::c_int = 2;

0 commit comments

Comments
 (0)