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.
2 parents 2d0f9c8 + 95636a8 commit 013ab57Copy full SHA for 013ab57
src/unix/bsd/netbsdlike/openbsd/aarch64.rs
@@ -1,6 +1,20 @@
1
pub type c_long = i64;
2
pub type c_ulong = u64;
3
pub type c_char = u8;
4
+pub type ucontext_t = sigcontext;
5
+
6
+s! {
7
+ pub struct sigcontext {
8
+ __sc_unused: ::c_int,
9
+ pub sc_mask: ::c_int,
10
+ pub sc_sp: ::c_ulong,
11
+ pub sc_lr: ::c_ulong,
12
+ pub sc_elr: ::c_ulong,
13
+ pub sc_spsr: ::c_ulong,
14
+ pub sc_x: [::c_ulong; 30],
15
+ pub sc_cookie: ::c_long,
16
+ }
17
+}
18
19
// should be pub(crate), but that requires Rust 1.18.0
20
cfg_if! {
0 commit comments