Skip to content

Commit

Permalink
Merge pull request #4194 from jamesr/main
Browse files Browse the repository at this point in the history
Add sockaddr_vm definition for Fuchsia
  • Loading branch information
tgross35 authored Dec 12, 2024
2 parents 3b458ff + 816a236 commit db3bc58
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/fuchsia.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1446,6 +1446,7 @@ sigwait
sigwaitinfo
sockaddr_ll
sockaddr_nl
sockaddr_vm
splice
spwd
srand
Expand Down
8 changes: 8 additions & 0 deletions src/fuchsia/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,14 @@ s! {
pub sin6_scope_id: u32,
}
pub struct sockaddr_vm {
pub svm_family: sa_family_t,
pub svm_reserved1: c_ushort,
pub svm_port: crate::in_port_t,
pub svm_cid: c_uint,
pub svm_zero: [u8; 4],
}
pub struct addrinfo {
pub ai_flags: c_int,
pub ai_family: c_int,
Expand Down

0 comments on commit db3bc58

Please sign in to comment.