File tree Expand file tree Collapse file tree 8 files changed +15
-4
lines changed Expand file tree Collapse file tree 8 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,8 @@ cfg_if! {
134
134
}
135
135
}
136
136
137
+ pub const BIOCSRTIMEOUT : :: c_ulong = 0x8010426d ;
138
+ pub const BIOCGRTIMEOUT : :: c_ulong = 0x4010426e ;
137
139
pub const MAP_32BIT : :: c_int = 0x00080000 ;
138
140
pub const MINSIGSTKSZ : :: size_t = 4096 ; // 1024 * 4
139
141
pub const TIOCTIMESTAMP : :: c_ulong = 0x40107459 ;
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ pub type suseconds_t = i32;
8
8
pub type register_t = i32 ;
9
9
10
10
pub ( crate ) const _ALIGNBYTES: usize = :: mem:: size_of :: < :: c_int > ( ) - 1 ;
11
+ pub const BIOCSRTIMEOUT : :: c_ulong = 0x8010426d ;
12
+ pub const BIOCGRTIMEOUT : :: c_ulong = 0x4010426e ;
11
13
pub const MAP_32BIT : :: c_int = 0x00080000 ;
12
14
pub const MINSIGSTKSZ : :: size_t = 4096 ; // 1024 * 4
13
15
pub const TIOCTIMESTAMP : :: c_ulong = 0x40107459 ;
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ pub type suseconds_t = i32;
8
8
pub type register_t = i32 ;
9
9
10
10
pub ( crate ) const _ALIGNBYTES: usize = :: mem:: size_of :: < :: c_int > ( ) - 1 ;
11
+ pub const BIOCSRTIMEOUT : :: c_ulong = 0x8010426d ;
12
+ pub const BIOCGRTIMEOUT : :: c_ulong = 0x4010426e ;
11
13
pub const MAP_32BIT : :: c_int = 0x00080000 ;
12
14
pub const MINSIGSTKSZ : :: size_t = 2048 ; // 512 * 4
13
15
pub const TIOCTIMESTAMP : :: c_ulong = 0x40107459 ;
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ pub type suseconds_t = i64;
8
8
pub type register_t = i64 ;
9
9
10
10
pub ( crate ) const _ALIGNBYTES: usize = :: mem:: size_of :: < :: c_long > ( ) - 1 ;
11
+ pub const BIOCSRTIMEOUT : :: c_ulong = 0x8010426d ;
12
+ pub const BIOCGRTIMEOUT : :: c_ulong = 0x4010426e ;
11
13
pub const MAP_32BIT : :: c_int = 0x00080000 ;
12
14
pub const MINSIGSTKSZ : :: size_t = 2048 ; // 512 * 4
13
15
pub const TIOCTIMESTAMP : :: c_ulong = 0x40107459 ;
Original file line number Diff line number Diff line change @@ -142,6 +142,8 @@ cfg_if! {
142
142
}
143
143
}
144
144
145
+ pub const BIOCSRTIMEOUT : :: c_ulong = 0x8010426d ;
146
+ pub const BIOCGRTIMEOUT : :: c_ulong = 0x4010426e ;
145
147
pub const MAP_32BIT : :: c_int = 0x00080000 ;
146
148
pub const MINSIGSTKSZ : :: size_t = 4096 ; // 1024 * 4
147
149
pub const TIOCTIMESTAMP : :: c_ulong = 0x40107459 ;
Original file line number Diff line number Diff line change @@ -168,5 +168,7 @@ cfg_if! {
168
168
169
169
pub const MINSIGSTKSZ : :: size_t = 2048 ; // 512 * 4
170
170
171
+ pub const BIOCSRTIMEOUT : :: c_ulong = 0x8008426d ;
172
+ pub const BIOCGRTIMEOUT : :: c_ulong = 0x4008426e ;
171
173
pub const KINFO_FILE_SIZE : :: c_int = 1392 ;
172
174
pub const TIOCTIMESTAMP : :: c_ulong = 0x40087459 ;
Original file line number Diff line number Diff line change @@ -221,6 +221,9 @@ cfg_if! {
221
221
222
222
pub ( crate ) const _ALIGNBYTES: usize = :: mem:: size_of :: < :: c_long > ( ) - 1 ;
223
223
224
+ pub const BIOCSRTIMEOUT : :: c_ulong = 0x8010426d ;
225
+ pub const BIOCGRTIMEOUT : :: c_ulong = 0x4010426e ;
226
+
224
227
pub const MAP_32BIT : :: c_int = 0x00080000 ;
225
228
pub const MINSIGSTKSZ : :: size_t = 2048 ; // 512 * 4
226
229
Original file line number Diff line number Diff line change @@ -1281,14 +1281,10 @@ pub const BIOCSSEESENT: ::c_ulong = 0x80044277;
1281
1281
cfg_if ! {
1282
1282
if #[ cfg( target_pointer_width = "64" ) ] {
1283
1283
pub const BIOCGDLTLIST : :: c_ulong = 0xc0104279 ;
1284
- pub const BIOCGRTIMEOUT : :: c_ulong = 0x4010426e ;
1285
1284
pub const BIOCSETF : :: c_ulong = 0x80104267 ;
1286
- pub const BIOCSRTIMEOUT : :: c_ulong = 0x8010426d ;
1287
1285
} else if #[ cfg( target_pointer_width = "32" ) ] {
1288
1286
pub const BIOCGDLTLIST : :: c_ulong = 0xc0084279 ;
1289
- pub const BIOCGRTIMEOUT : :: c_ulong = 0x4008426e ;
1290
1287
pub const BIOCSETF : :: c_ulong = 0x80084267 ;
1291
- pub const BIOCSRTIMEOUT : :: c_ulong = 0x8008426d ;
1292
1288
}
1293
1289
}
1294
1290
You can’t perform that action at this time.
0 commit comments