Skip to content

Commit

Permalink
netbsd mapping auxiliary vectors type
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed May 23, 2021
1 parent 23c29a0 commit 749ffed
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/unix/bsd/netbsdlike/netbsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 749ffed

Please sign in to comment.