Netdb
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
sys_includes = ["stddef.h", "stdint.h", "sys/types.h"]
|
||||
include_guard = "_SYS_SOCKET_H"
|
||||
style = "Tag"
|
||||
style = "Both"
|
||||
language = "C"
|
||||
|
||||
[defines]
|
||||
|
||||
@@ -14,6 +14,7 @@ pub type sa_family_t = u16;
|
||||
pub type socklen_t = u32;
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Default)]
|
||||
pub struct sockaddr {
|
||||
pub sa_family: sa_family_t,
|
||||
data: [c_char; 14],
|
||||
|
||||
Reference in New Issue
Block a user