Skip to content
Snippets Groups Projects
Commit 73a2dbce authored by Sébastien Marie's avatar Sébastien Marie
Browse files

openbsd: map `si_addr` inside `struct siginfo_t`

formally, under OpenBSD, `si_addr` is part of a C union. As we don't use
others members of the union inside `struct siginfo_t`, it should be safe
to directly map the field.
parent 4b9b07c7
No related branches found
No related tags found
Loading
......@@ -99,8 +99,8 @@ s! {
pub si_signo: ::c_int,
pub si_code: ::c_int,
pub si_errno: ::c_int,
__pad1: ::c_int,
__pad2: [u8; 240],
pub si_addr: *mut ::c_void,
__pad: [u8; 116],
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment