Skip to content

Commit c82667c

Browse files
committed
Add resolv
1 parent 0f69069 commit c82667c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

libc-test/semver/linux.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4218,6 +4218,7 @@ regmatch_t
42184218
regoff_t
42194219
remap_file_pages
42204220
removexattr
4221+
res_query
42214222
rlim64_t
42224223
rlimit64
42234224
rtentry

src/unix/linux_like/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2062,6 +2062,8 @@ extern "C" {
20622062

20632063
pub fn getdomainname(name: *mut c_char, len: size_t) -> c_int;
20642064
pub fn setdomainname(name: *const c_char, len: size_t) -> c_int;
2065+
2066+
pub fn res_query(dname: *const c_char, class: c_int, kind: c_int, answer: *mut c_uchar, anslen: c_int) -> c_int;
20652067
}
20662068

20672069
// LFS64 extensions

0 commit comments

Comments
 (0)