Skip to content

Commit

Permalink
unix add hstrerror
Browse files Browse the repository at this point in the history
  • Loading branch information
deantvv committed Aug 7, 2021
1 parent e02b7e5 commit ce9812d
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 ce9812d

Please sign in to comment.