File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -293,6 +293,8 @@ pub const NOTE_TRACK: ::uint32_t = 0x00000001;
293293pub const NOTE_TRACKERR : :: uint32_t = 0x00000002 ;
294294pub const NOTE_CHILD : :: uint32_t = 0x00000004 ;
295295
296+ pub const MSG_NOSIGNAL : :: uint32_t = 0x400 ;
297+
296298extern {
297299 pub fn mprotect ( addr : * mut :: c_void , len : :: size_t , prot : :: c_int )
298300 -> :: c_int ;
Original file line number Diff line number Diff line change @@ -272,6 +272,8 @@ pub const CTL_P1003_1B_SIGQUEUE_MAX: ::c_int = 24;
272272pub const CTL_P1003_1B_TIMER_MAX : :: c_int = 25 ;
273273pub const CTL_P1003_1B_MAXID : :: c_int = 26 ;
274274
275+ pub const MSG_NOSIGNAL : :: c_int = 0x20000 ;
276+
275277extern {
276278 pub fn __error ( ) -> * mut :: c_int ;
277279
Original file line number Diff line number Diff line change @@ -392,6 +392,8 @@ pub const SO_RCVLOWAT: ::c_int = 0x1004;
392392pub const SO_ERROR : :: c_int = 0x1007 ;
393393pub const SO_TYPE : :: c_int = 0x1008 ;
394394
395+ pub const MSG_NOSIGNAL : :: c_int = 0x400 ;
396+
395397pub const IFF_LOOPBACK : :: c_int = 0x8 ;
396398
397399pub const SHUT_RD : :: c_int = 0 ;
Original file line number Diff line number Diff line change @@ -548,6 +548,8 @@ pub const IPV6_V6ONLY: ::c_int = 30;
548548
549549pub const SO_DEBUG : :: c_int = 0x00000004 ;
550550
551+ pub const MSG_NOSIGNAL : :: c_int = 0x0800 ;
552+
551553pub const SHUT_RD : :: c_int = 0 ;
552554pub const SHUT_WR : :: c_int = 1 ;
553555pub const SHUT_RDWR : :: c_int = 2 ;
You can’t perform that action at this time.
0 commit comments