Skip to content

Commit d692cef

Browse files
devnexentgross35
authored andcommitted

File tree

7 files changed

+19
-0
lines changed

7 files changed

+19
-0
lines changed

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
@@ -592,6 +592,7 @@ ctime_r
592592
dirname
593593
dlinfo
594594
dlmopen
595+
dlvsym
595596
eaccess
596597
endutxent
597598
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
@@ -1287,6 +1287,11 @@ extern "C" {
12871287
extra_info: *mut *mut c_void,
12881288
flags: c_int,
12891289
) -> c_int;
1290+
pub fn dlvsym(
1291+
handle: *mut c_void,
1292+
symbol: *const c_char,
1293+
version: *const c_char,
1294+
) -> *mut c_void;
12901295
pub fn malloc_trim(__pad: size_t) -> c_int;
12911296
pub fn gnu_get_libc_release() -> *const c_char;
12921297
pub fn gnu_get_libc_version() -> *const c_char;

0 commit comments

Comments
 (0)