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+
13pub type c_long = i64 ;
24pub type c_ulong = u64 ;
35pub 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+
13pub type c_long = i32 ;
24pub type c_ulong = u32 ;
35pub 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+
13pub type c_long = i32 ;
24pub type c_ulong = u32 ;
35pub 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+
13pub type c_long = i64 ;
24pub type c_ulong = u64 ;
35pub 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
8585
8686pub const SIGSTKSZ : :: size_t = 40960 ;
8787
88+ pub const PT_FIRSTMACH : :: c_int = 32 ;
89+
8890extern {
8991 pub fn nl_langinfo_l ( item : :: nl_item , locale : :: locale_t ) -> * mut :: c_char ;
9092 pub fn duplocale ( base : :: locale_t ) -> :: locale_t ;
Original file line number Diff line number Diff line change 1+ use PT_FIRSTMACH ;
2+
13pub type c_long = i64 ;
24pub 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
248248
249249pub const SIGSTKSZ : :: size_t = 28672 ;
250250
251+ pub const PT_FIRSTMACH : :: c_int = 32 ;
252+
251253extern {
252254 pub fn accept4 ( s : :: c_int , addr : * mut :: sockaddr ,
253255 addrlen : * mut :: socklen_t , flags : :: c_int ) -> :: c_int ;
Original file line number Diff line number Diff line change 1+ use PT_FIRSTMACH ;
2+
13pub type c_long = i64 ;
24pub type c_ulong = u64 ;
35pub 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