File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -1261,6 +1261,8 @@ pub const SOCK_STREAM: c_int = 1;
12611261pub  const  SOCK_DGRAM :  c_int  = 2 ; 
12621262pub  const  SOCK_RAW :  c_int  = 3 ; 
12631263pub  const  SOCK_SEQPACKET :  c_int  = 5 ; 
1264+ pub  const  SOCK_NONBLOCK :  c_int  = 0x00040000 ; 
1265+ pub  const  SOCK_CLOEXEC :  c_int  = 0x00080000 ; 
12641266
12651267pub  const  SOL_SOCKET :  c_int  = -1 ; 
12661268pub  const  SO_ACCEPTCONN :  c_int  = 0x00000001 ; 
@@ -1789,6 +1791,13 @@ extern "C" {
17891791        address_len :  crate :: socklen_t , 
17901792    )  -> c_int ; 
17911793
1794+     pub  fn  accept4 ( 
1795+         socket :  c_int , 
1796+         address :  * mut  crate :: sockaddr , 
1797+         addressLength :  * mut  crate :: socklen_t , 
1798+         flags :  c_int , 
1799+     )  -> c_int ; 
1800+ 
17921801    pub  fn  writev ( fd :  c_int ,  iov :  * const  crate :: iovec ,  count :  c_int )  -> ssize_t ; 
17931802    pub  fn  readv ( fd :  c_int ,  iov :  * const  crate :: iovec ,  count :  c_int )  -> ssize_t ; 
17941803
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments