Skip to content

Commit

Permalink
Auto merge of #2323 - deantvv:add-hstrerror, r=Amanieu
Browse files Browse the repository at this point in the history
unix add hstrerror
  • Loading branch information
bors committed Aug 9, 2021
2 parents 7b96aed + ce9812d commit 153abf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/unix.txt
Expand Up @@ -594,6 +594,7 @@ gmtime_r
grantpt
group
hostent
hstrerror
if_indextoname
if_nametoindex
in6_addr
Expand Down
1 change: 1 addition & 0 deletions src/unix/mod.rs
Expand Up @@ -1171,6 +1171,7 @@ extern "C" {
)))]
#[cfg_attr(target_os = "espidf", link_name = "lwip_freeaddrinfo")]
pub fn freeaddrinfo(res: *mut addrinfo);
pub fn hstrerror(errcode: ::c_int) -> *const ::c_char;
pub fn gai_strerror(errcode: ::c_int) -> *const ::c_char;
#[cfg_attr(
any(
Expand Down

0 comments on commit 153abf1

Please sign in to comment.