File tree Expand file tree Collapse file tree 8 files changed +48
-0
lines changed Expand file tree Collapse file tree 8 files changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ use PT_FIRSTMACH ;
2
+
1
3
pub type c_long = i64 ;
2
4
pub type c_ulong = u64 ;
3
5
pub type c_char = u8 ;
6
+
7
+ pub const PT_GETREGS : :: c_int = PT_FIRSTMACH + 0 ;
8
+ pub const PT_SETREGS : :: c_int = PT_FIRSTMACH + 1 ;
9
+ pub const PT_GETFPREGS : :: c_int = PT_FIRSTMACH + 2 ;
10
+ pub const PT_SETFPREGS : :: c_int = PT_FIRSTMACH + 3 ;
Original file line number Diff line number Diff line change
1
+ use PT_FIRSTMACH ;
2
+
1
3
pub type c_long = i32 ;
2
4
pub type c_ulong = u32 ;
3
5
pub type c_char = u8 ;
6
+
7
+ pub const PT_GETREGS : :: c_int = PT_FIRSTMACH + 1 ;
8
+ pub const PT_SETREGS : :: c_int = PT_FIRSTMACH + 2 ;
9
+ pub const PT_GETFPREGS : :: c_int = PT_FIRSTMACH + 3 ;
10
+ pub const PT_SETFPREGS : :: c_int = PT_FIRSTMACH + 4 ;
Original file line number Diff line number Diff line change
1
+ use PT_FIRSTMACH ;
2
+
1
3
pub type c_long = i32 ;
2
4
pub type c_ulong = u32 ;
3
5
pub type c_char = u8 ;
6
+
7
+ pub const PT_STEP : :: c_int = PT_FIRSTMACH + 0 ;
8
+ pub const PT_GETREGS : :: c_int = PT_FIRSTMACH + 1 ;
9
+ pub const PT_SETREGS : :: c_int = PT_FIRSTMACH + 2 ;
Original file line number Diff line number Diff line change
1
+ use PT_FIRSTMACH ;
2
+
1
3
pub type c_long = i64 ;
2
4
pub type c_ulong = u64 ;
3
5
pub type c_char = i8 ;
6
+
7
+ pub const PT_STEP : :: c_int = PT_FIRSTMACH + 0 ;
8
+ pub const PT_GETREGS : :: c_int = PT_FIRSTMACH + 1 ;
9
+ pub const PT_SETREGS : :: c_int = PT_FIRSTMACH + 2 ;
10
+ pub const PT_GETFPREGS : :: c_int = PT_FIRSTMACH + 3 ;
11
+ pub const PT_SETFPREGS : :: c_int = PT_FIRSTMACH + 4 ;
Original file line number Diff line number Diff line change @@ -85,6 +85,8 @@ pub const IFF_MULTICAST: ::c_int = 0x8000; // supports multicast
85
85
86
86
pub const SIGSTKSZ : :: size_t = 40960 ;
87
87
88
+ pub const PT_FIRSTMACH : :: c_int = 32 ;
89
+
88
90
extern {
89
91
pub fn nl_langinfo_l ( item : :: nl_item , locale : :: locale_t ) -> * mut :: c_char ;
90
92
pub fn duplocale ( base : :: locale_t ) -> :: locale_t ;
Original file line number Diff line number Diff line change
1
+ use PT_FIRSTMACH ;
2
+
1
3
pub type c_long = i64 ;
2
4
pub type c_ulong = u64 ;
5
+
6
+ pub const PT_STEP : :: c_int = PT_FIRSTMACH + 0 ;
7
+ pub const PT_GETREGS : :: c_int = PT_FIRSTMACH + 1 ;
8
+ pub const PT_SETREGS : :: c_int = PT_FIRSTMACH + 2 ;
9
+ pub const PT_GETFPREGS : :: c_int = PT_FIRSTMACH + 3 ;
10
+ pub const PT_SETFPREGS : :: c_int = PT_FIRSTMACH + 4 ;
Original file line number Diff line number Diff line change @@ -248,6 +248,8 @@ pub const IFF_MULTICAST: ::c_int = 0x8000; // supports multicast
248
248
249
249
pub const SIGSTKSZ : :: size_t = 28672 ;
250
250
251
+ pub const PT_FIRSTMACH : :: c_int = 32 ;
252
+
251
253
extern {
252
254
pub fn accept4 ( s : :: c_int , addr : * mut :: sockaddr ,
253
255
addrlen : * mut :: socklen_t , flags : :: c_int ) -> :: c_int ;
Original file line number Diff line number Diff line change
1
+ use PT_FIRSTMACH ;
2
+
1
3
pub type c_long = i64 ;
2
4
pub type c_ulong = u64 ;
3
5
pub type c_char = i8 ;
6
+
7
+ pub const PT_STEP : :: c_int = PT_FIRSTMACH + 0 ;
8
+ pub const PT_GETREGS : :: c_int = PT_FIRSTMACH + 1 ;
9
+ pub const PT_SETREGS : :: c_int = PT_FIRSTMACH + 2 ;
10
+ pub const PT_GETFPREGS : :: c_int = PT_FIRSTMACH + 3 ;
11
+ pub const PT_SETFPREGS : :: c_int = PT_FIRSTMACH + 4 ;
You can’t perform that action at this time.
0 commit comments