We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fd71b7d + b94d772 commit b9d0049Copy full SHA for b9d0049
src/unix/haiku/mod.rs
@@ -1747,6 +1747,14 @@ extern "C" {
1747
1748
pub fn login_tty(_fd: ::c_int) -> ::c_int;
1749
pub fn fgetln(stream: *mut ::FILE, _length: *mut ::size_t) -> *mut ::c_char;
1750
+
1751
+ pub fn realhostname(host: *mut ::c_char, hsize: ::size_t, ip: *const in_addr) -> ::c_int;
1752
+ pub fn realhostname_sa(
1753
+ host: *mut ::c_char,
1754
+ hsize: ::size_t,
1755
+ addr: *mut sockaddr,
1756
+ addrlen: ::c_int,
1757
+ ) -> ::c_int;
1758
}
1759
1760
cfg_if! {
0 commit comments