File tree 2 files changed +28
-0
lines changed
src/unix/notbsd/linux/musl
2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 82
82
pub f_flags: :: c_ulong,
83
83
pub f_spare: [ :: c_ulong; 4 ] ,
84
84
}
85
+
86
+ pub struct mcontext_t {
87
+ __private: [ u32 ; 22 ]
88
+ }
89
+
90
+ pub struct ucontext_t {
91
+ pub uc_flags: :: c_ulong,
92
+ pub uc_link: * mut ucontext_t,
93
+ pub uc_stack: :: stack_t,
94
+ pub uc_mcontext: mcontext_t,
95
+ pub uc_sigmask: :: sigset_t,
96
+ __private: [ u8 ; 112 ] ,
97
+ }
85
98
}
86
99
87
100
pub const O_DIRECT : :: c_int = 0x4000 ;
Original file line number Diff line number Diff line change
1
+ s ! {
2
+ pub struct mcontext_t {
3
+ __private: [ u64 ; 32 ] ,
4
+ }
5
+
6
+ pub struct ucontext_t {
7
+ pub uc_flags: :: c_ulong,
8
+ pub uc_link: * mut ucontext_t,
9
+ pub uc_stack: :: stack_t,
10
+ pub uc_mcontext: mcontext_t,
11
+ pub uc_sigmask: :: sigset_t,
12
+ __private: [ u8 ; 512 ] ,
13
+ }
14
+ }
15
+
1
16
pub const SYS_gettid : :: c_long = 186 ;
2
17
3
18
pub const SYS_perf_event_open : :: c_long = 298 ;
You can’t perform that action at this time.
0 commit comments