We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ai_addr
1 parent 0dec549 commit a422e34Copy full SHA for a422e34
src/unix/linux_like/mod.rs
@@ -50,6 +50,8 @@ s! {
50
pub sin6_scope_id: u32,
51
}
52
53
+ // The order of the `ai_addr` field in this struct is crucial
54
+ // for converting between the Rust and C types.
55
pub struct addrinfo {
56
pub ai_flags: ::c_int,
57
pub ai_family: ::c_int,
src/unix/newlib/mod.rs
@@ -24,6 +24,8 @@ pub type time_t = i32;
24
pub type useconds_t = u32;
25
26
s! {
27
28
29
30
31
0 commit comments