Skip to content

Commit bd07503

Browse files
devnexentgross35
authored andcommitted
1 parent 7201057 commit bd07503

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
@@ -1935,6 +1935,7 @@ dirfd
19351935
dirname
19361936
dl_iterate_phdr
19371937
dl_phdr_info
1938+
dlvsym
19381939
drand48
19391940
dup3
19401941
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
@@ -5361,6 +5361,11 @@ extern "C" {
53615361
idx1: c_ulong,
53625362
idx2: c_ulong,
53635363
) -> c_int;
5364+
pub fn dlvsym(
5365+
handle: *mut c_void,
5366+
symbol: *const c_char,
5367+
version: *const c_char,
5368+
) -> *mut c_void;
53645369
}
53655370

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

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

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

26912696
// Added in `NetBSD` 7.0
26922697
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)