Skip to content

Commit

Permalink
Add dladdr1
Browse files Browse the repository at this point in the history
  • Loading branch information
noproto committed Jul 6, 2021
1 parent f3b7e0e commit c5d015e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/linux_like/linux/gnu/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1342,6 +1342,7 @@ extern "C" {
extern "C" {
pub fn dlmopen(lmid: Lmid_t, filename: *const ::c_char, flag: ::c_int) -> *mut ::c_void;
pub fn dlinfo(handle: *mut ::c_void, request: ::c_int, info: *mut ::c_void) -> ::c_int;
pub fn dladdr1(addr: *const ::c_void, info: *mut ::Dl_info, extra_info: *mut *mut ::c_void, flags: ::c_int) -> ::c_int;
}

cfg_if! {
Expand Down

0 comments on commit c5d015e

Please sign in to comment.