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;
8383pub const MSG_WAITALL : :: c_int = 0x02 ;
8484pub const MSG_MORE : :: c_int = 0x10 ;
8585pub 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 ;
8689
8790pub const PTHREAD_STACK_MIN : :: size_t = 768 ;
8891
@@ -100,6 +103,8 @@ extern "C" {
100103 pub fn sendmsg ( s : :: c_int , msg : * const :: msghdr , flags : :: c_int ) -> :: ssize_t ;
101104 #[ link_name = "lwip_recvmsg" ]
102105 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 ;
103108}
104109
105110pub use crate :: unix:: newlib:: generic:: { sigset_t, stat} ;
You can’t perform that action at this time.
0 commit comments