File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1365,6 +1365,7 @@ pub const EAI_BADFLAGS: ::c_int = -1;
1365
1365
pub const EAI_NONAME : :: c_int = -2 ;
1366
1366
pub const EAI_AGAIN : :: c_int = -3 ;
1367
1367
pub const EAI_FAIL : :: c_int = -4 ;
1368
+ pub const EAI_NODATA : :: c_int = -5 ;
1368
1369
pub const EAI_FAMILY : :: c_int = -6 ;
1369
1370
pub const EAI_SOCKTYPE : :: c_int = -7 ;
1370
1371
pub const EAI_SERVICE : :: c_int = -8 ;
@@ -2318,6 +2319,15 @@ extern "C" {
2318
2319
pub fn getgrgid ( gid : :: gid_t ) -> * mut :: group ;
2319
2320
pub fn popen ( command : * const c_char , mode : * const c_char ) -> * mut :: FILE ;
2320
2321
pub fn uname ( buf : * mut :: utsname ) -> :: c_int ;
2322
+ pub fn getnameinfo (
2323
+ sa : * const :: sockaddr ,
2324
+ salen : :: socklen_t ,
2325
+ host : * mut :: c_char ,
2326
+ hostlen : :: socklen_t ,
2327
+ serv : * mut :: c_char ,
2328
+ sevlen : :: socklen_t ,
2329
+ flags : :: c_int ,
2330
+ ) -> :: c_int ;
2321
2331
}
2322
2332
2323
2333
cfg_if ! {
You can’t perform that action at this time.
0 commit comments