Skip to content

Commit c5d015e

Browse files
authored
Add dladdr1
1 parent f3b7e0e commit c5d015e

File tree

1 file changed

+1
-0
lines changed
  • src/unix/linux_like/linux/gnu

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1342,6 +1342,7 @@ extern "C" {
13421342
extern "C" {
13431343
pub fn dlmopen(lmid: Lmid_t, filename: *const ::c_char, flag: ::c_int) -> *mut ::c_void;
13441344
pub fn dlinfo(handle: *mut ::c_void, request: ::c_int, info: *mut ::c_void) -> ::c_int;
1345+
pub fn dladdr1(addr: *const ::c_void, info: *mut ::Dl_info, extra_info: *mut *mut ::c_void, flags: ::c_int) -> ::c_int;
13451346
}
13461347

13471348
cfg_if! {

0 commit comments

Comments
 (0)