File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -611,17 +611,20 @@ extern "C" {
611
611
target_arch = "powerpc" ,
612
612
target_vendor = "nintendo"
613
613
) ) ) ]
614
+ #[ cfg_attr( target_os = "espidf" , link_name = "lwip_bind" ) ]
614
615
pub fn bind ( fd : :: c_int , addr : * const sockaddr , len : socklen_t ) -> :: c_int ;
615
616
pub fn clock_settime ( clock_id : :: clockid_t , tp : * const :: timespec ) -> :: c_int ;
616
617
pub fn clock_gettime ( clock_id : :: clockid_t , tp : * mut :: timespec ) -> :: c_int ;
617
618
pub fn clock_getres ( clock_id : :: clockid_t , res : * mut :: timespec ) -> :: c_int ;
619
+ #[ cfg_attr( target_os = "espidf" , link_name = "lwip_close" ) ]
618
620
pub fn closesocket ( sockfd : :: c_int ) -> :: c_int ;
619
621
pub fn ioctl ( fd : :: c_int , request : :: c_ulong , ...) -> :: c_int ;
620
622
#[ cfg( not( all(
621
623
libc_cfg_target_vendor,
622
624
target_arch = "powerpc" ,
623
625
target_vendor = "nintendo"
624
626
) ) ) ]
627
+ #[ cfg_attr( target_os = "espidf" , link_name = "lwip_recvfrom" ) ]
625
628
pub fn recvfrom (
626
629
fd : :: c_int ,
627
630
buf : * mut :: c_void ,
You can’t perform that action at this time.
0 commit comments