diff options
-rw-r--r-- | src/unix/bsd/netbsdlike/netbsd/mod.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/unix/bsd/netbsdlike/netbsd/mod.rs b/src/unix/bsd/netbsdlike/netbsd/mod.rs index a4f4148d06..ce050280f2 100644 --- a/src/unix/bsd/netbsdlike/netbsd/mod.rs +++ b/src/unix/bsd/netbsdlike/netbsd/mod.rs @@ -403,6 +403,16 @@ s! { pub p_align: Elf64_Xword, } + pub struct Aux32Info { + pub a_type: Elf32_Word, + pub a_v: Elf32_Word, + } + + pub struct Aux64Info { + pub a_type: Elf64_Word, + pub a_v: Elf64_Xword, + } + // link.h pub struct dl_phdr_info { @@ -2074,6 +2084,10 @@ extern "C" { data: *mut ::c_void, ) -> ::c_int; + // dlfcn.h + + pub fn _dlauxinfo() -> *mut ::c_void; + pub fn iconv_open(tocode: *const ::c_char, fromcode: *const ::c_char) -> iconv_t; pub fn iconv( cd: iconv_t, |