Skip to content

File tree

8 files changed

+21
-2
lines changed

8 files changed

+21
-2
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libc-test/semver/dragonfly.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1317,6 +1317,7 @@ dirfd
13171317
dirname
13181318
dl_iterate_phdr
13191319
dl_phdr_info
1320+
dlvsym
13201321
drand48
13211322
duplocale
13221323
eaccess

libc-test/semver/freebsd.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1928,6 +1928,7 @@ dirfd
19281928
dirname
19291929
dl_iterate_phdr
19301930
dl_phdr_info
1931+
dlvsym
19311932
drand48
19321933
dup3
19331934
duplocale

libc-test/semver/linux-gnu.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ ctime_r
590590
dirname
591591
dlinfo
592592
dlmopen
593+
dlvsym
593594
eaccess
594595
endutxent
595596
epoll_pwait2

libc-test/semver/netbsd.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,6 +1282,7 @@ dirfd
12821282
dirname
12831283
dl_iterate_phdr
12841284
dl_phdr_info
1285+
dlvsym
12851286
dqblk
12861287
drand48
12871288
dup3

src/unix/bsd/freebsdlike/freebsd/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5275,6 +5275,11 @@ extern "C" {
52755275
idx1: c_ulong,
52765276
idx2: c_ulong,
52775277
) -> c_int;
5278+
pub fn dlvsym(
5279+
handle: *mut c_void,
5280+
symbol: *const c_char,
5281+
version: *const c_char,
5282+
) -> *mut c_void;
52785283
}
52795284

52805285
#[link(name = "memstat")]

src/unix/bsd/netbsdlike/netbsd/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2686,6 +2686,11 @@ extern "C" {
26862686
new_value: *const crate::itimerspec,
26872687
old_value: *mut crate::itimerspec,
26882688
) -> c_int;
2689+
pub fn dlvsym(
2690+
handle: *mut c_void,
2691+
symbol: *const c_char,
2692+
version: *const c_char,
2693+
) -> *mut c_void;
26892694

26902695
// Added in `NetBSD` 7.0
26912696
pub fn explicit_memset(b: *mut c_void, c: c_int, len: size_t);

src/unix/linux_like/linux/gnu/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,6 +1285,11 @@ extern "C" {
12851285
extra_info: *mut *mut c_void,
12861286
flags: c_int,
12871287
) -> c_int;
1288+
pub fn dlvsym(
1289+
handle: *mut c_void,
1290+
symbol: *const c_char,
1291+
version: *const c_char,
1292+
) -> *mut c_void;
12881293
pub fn malloc_trim(__pad: size_t) -> c_int;
12891294
pub fn gnu_get_libc_release() -> *const c_char;
12901295
pub fn gnu_get_libc_version() -> *const c_char;

0 commit comments

Comments
 (0)