We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 392d28c commit 2978d68Copy full SHA for 2978d68
src/unix/bsd/netbsdlike/netbsd/mod.rs
@@ -44,6 +44,10 @@ cfg_if! {
44
}
45
46
impl siginfo_t {
47
+ pub unsafe fn si_addr(&self) -> *mut ::c_void {
48
+ self.si_addr
49
+ }
50
+
51
pub unsafe fn si_value(&self) -> ::sigval {
52
#[repr(C)]
53
struct siginfo_timer {
src/unix/bsd/netbsdlike/openbsd/mod.rs
@@ -386,6 +386,10 @@ s! {
386
387
388
389
+ pub unsafe fn si_addr(&self) -> *mut ::c_char {
390
391
392
393
394
395
0 commit comments