Re:Baby Steps: Slowly Porting Musl to Rust
by posborne on Sunday June 12, 2016 @06:59PM
(#11890741)
For safe, well-reviewed wrappers around libc (a different problem, but one which is more realistic to solve), I would encourage you to check out the nix crate (I am a maintainer -- the original author was Carl Lerche). It doesn't look like we have a wrapper for getaddrinfo currently, but it is something I think we would welcome.
https://github.com/nix-rust/nix