File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,9 @@ pub const MSG_DONTROUTE: ::c_int = 0x4;
83
83
pub const MSG_WAITALL : :: c_int = 0x02 ;
84
84
pub const MSG_MORE : :: c_int = 0x10 ;
85
85
pub const MSG_NOSIGNAL : :: c_int = 0x20 ;
86
+ pub const MSG_TRUNC : :: c_int = 0x04 ;
87
+ pub const MSG_CTRUNC : :: c_int = 0x08 ;
88
+ pub const MSG_EOR : c_int = 0x08 ;
86
89
87
90
pub const PTHREAD_STACK_MIN : :: size_t = 768 ;
88
91
@@ -100,6 +103,8 @@ extern "C" {
100
103
pub fn sendmsg ( s : :: c_int , msg : * const :: msghdr , flags : :: c_int ) -> :: ssize_t ;
101
104
#[ link_name = "lwip_recvmsg" ]
102
105
pub fn recvmsg ( s : :: c_int , msg : * mut :: msghdr , flags : :: c_int ) -> :: ssize_t ;
106
+
107
+ pub fn eventfd ( initval : :: c_uint , flags : :: c_int ) -> :: c_int ;
103
108
}
104
109
105
110
pub use crate :: unix:: newlib:: generic:: { sigset_t, stat} ;
You can’t perform that action at this time.
0 commit comments