File tree 23 files changed +33
-3
lines changed
23 files changed +33
-3
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ pub type wchar_t = u32;
4
4
pub const O_DIRECT : :: c_int = 0x10000 ;
5
5
pub const O_DIRECTORY : :: c_int = 0x4000 ;
6
6
pub const O_NOFOLLOW : :: c_int = 0x8000 ;
7
+ pub const O_LARGEFILE : :: c_int = 0o400000 ;
Original file line number Diff line number Diff line change @@ -4,5 +4,6 @@ pub type wchar_t = i32;
4
4
pub const O_DIRECT : :: c_int = 0x4000 ;
5
5
pub const O_DIRECTORY : :: c_int = 0x10000 ;
6
6
pub const O_NOFOLLOW : :: c_int = 0x20000 ;
7
+ pub const O_LARGEFILE : :: c_int = 0o0100000 ;
7
8
8
9
pub const MAP_32BIT : :: c_int = 0x40 ;
Original file line number Diff line number Diff line change 52
52
pub const O_DIRECT : :: c_int = 0x10000 ;
53
53
pub const O_DIRECTORY : :: c_int = 0x4000 ;
54
54
pub const O_NOFOLLOW : :: c_int = 0x8000 ;
55
+ pub const O_LARGEFILE : :: c_int = 0o400000 ;
55
56
56
57
pub const SYS_gettid : :: c_long = 178 ;
57
58
Original file line number Diff line number Diff line change 46
46
pub const O_DIRECT : :: c_int = 0x4000 ;
47
47
pub const O_DIRECTORY : :: c_int = 0x10000 ;
48
48
pub const O_NOFOLLOW : :: c_int = 0x20000 ;
49
+ pub const O_LARGEFILE : :: c_int = 0o0100000 ;
49
50
50
51
pub const SYS_gettid : :: c_long = 186 ;
51
52
Original file line number Diff line number Diff line change 149
149
}
150
150
151
151
pub const O_TRUNC : :: c_int = 512 ;
152
-
153
152
pub const O_CLOEXEC : :: c_int = 0x80000 ;
154
153
155
154
pub const EBFONT : :: c_int = 59 ;
Original file line number Diff line number Diff line change @@ -231,6 +231,8 @@ pub const __SIZEOF_PTHREAD_RWLOCK_T: usize = 32;
231
231
pub const __SIZEOF_PTHREAD_MUTEXATTR_T: usize = 4 ;
232
232
pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: usize = 8 ;
233
233
234
+ pub const O_LARGEFILE : :: c_int = 0x2000 ;
235
+
234
236
pub const RLIM_INFINITY : :: rlim_t = 0x7fffffff ;
235
237
236
238
pub const SYS_gettid : :: c_long = 4222 ; // Valid for O32
Original file line number Diff line number Diff line change @@ -217,6 +217,8 @@ pub const __SIZEOF_PTHREAD_MUTEX_T: usize = 40;
217
217
pub const __SIZEOF_PTHREAD_RWLOCK_T: usize = 56 ;
218
218
pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: usize = 8 ;
219
219
220
+ pub const O_LARGEFILE : :: c_int = 0 ;
221
+
220
222
pub const RLIM_INFINITY : :: rlim_t = 0xffff_ffff_ffff_ffff ;
221
223
222
224
pub const SYS_gettid : :: c_long = 5178 ; // Valid for n64
Original file line number Diff line number Diff line change @@ -33,7 +33,9 @@ pub const NCCS: usize = 32;
33
33
34
34
pub const O_TRUNC : :: c_int = 512 ;
35
35
36
+ pub const O_NOATIME : :: c_int = 0o1000000 ;
36
37
pub const O_CLOEXEC : :: c_int = 0x80000 ;
38
+ pub const O_PATH : :: c_int = 0o10000000 ;
37
39
38
40
pub const EBFONT : :: c_int = 59 ;
39
41
pub const ENOSTR : :: c_int = 60 ;
Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ pub const O_DIRECT: ::c_int = 0x4000;
113
113
pub const O_DIRECTORY : :: c_int = 0x10000 ;
114
114
pub const O_NOFOLLOW : :: c_int = 0x20000 ;
115
115
pub const O_ASYNC : :: c_int = 0x2000 ;
116
+ pub const O_LARGEFILE : :: c_int = 0o400000 ;
116
117
117
118
pub const FIOCLEX : :: c_int = 0x5451 ;
118
119
pub const FIONBIO : :: c_int = 0x5421 ;
Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ pub const O_DIRECT: ::c_int = 0o100000;
121
121
pub const O_DIRECTORY : :: c_int = 0o200000 ;
122
122
pub const O_NOFOLLOW : :: c_int = 0o400000 ;
123
123
pub const O_ASYNC : :: c_int = 0o10000 ;
124
+ pub const O_LARGEFILE : :: c_int = 0x2000 ;
124
125
125
126
pub const FIOCLEX : :: c_int = 0x6601 ;
126
127
pub const FIONBIO : :: c_int = 0x667E ;
Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ pub const O_DIRECT: ::c_int = 0x4000;
126
126
pub const O_DIRECTORY : :: c_int = 0x10000 ;
127
127
pub const O_NOFOLLOW : :: c_int = 0x20000 ;
128
128
pub const O_ASYNC : :: c_int = 0x2000 ;
129
+ pub const O_LARGEFILE : :: c_int = 0o0100000 ;
129
130
130
131
pub const FIOCLEX : :: c_int = 0x5451 ;
131
132
pub const FIONBIO : :: c_int = 0x5421 ;
Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ pub const O_DIRECT: ::c_int = 0x4000;
141
141
pub const O_DIRECTORY : :: c_int = 0x10000 ;
142
142
pub const O_NOFOLLOW : :: c_int = 0x20000 ;
143
143
pub const O_ASYNC : :: c_int = 0x2000 ;
144
+ pub const O_LARGEFILE : :: c_int = 0 ;
144
145
145
146
pub const FIOCLEX : :: c_int = 0x5451 ;
146
147
pub const FIONBIO : :: c_int = 0x5421 ;
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ pub const SFD_CLOEXEC: ::c_int = 0x080000;
92
92
pub const NCCS : usize = 32 ;
93
93
94
94
pub const O_TRUNC : :: c_int = 512 ;
95
-
95
+ pub const O_NOATIME : :: c_int = 0o1000000 ;
96
96
pub const O_CLOEXEC : :: c_int = 0x80000 ;
97
97
98
98
pub const EBFONT : :: c_int = 59 ;
Original file line number Diff line number Diff line change 75
75
pub const O_DIRECT : :: c_int = 0x10000 ;
76
76
pub const O_DIRECTORY : :: c_int = 0x4000 ;
77
77
pub const O_NOFOLLOW : :: c_int = 0x8000 ;
78
+ pub const O_LARGEFILE : :: c_int = 0o400000 ;
78
79
79
80
pub const MAP_LOCKED : :: c_int = 0x02000 ;
80
81
pub const MAP_NORESERVE : :: c_int = 0x04000 ;
Original file line number Diff line number Diff line change @@ -79,6 +79,8 @@ pub const O_SYNC: ::c_int = 1052672;
79
79
pub const O_RSYNC : :: c_int = 1052672 ;
80
80
pub const O_DSYNC : :: c_int = 4096 ;
81
81
pub const O_FSYNC : :: c_int = 0x101000 ;
82
+ pub const O_NOATIME : :: c_int = 0o1000000 ;
83
+ pub const O_PATH : :: c_int = 0o10000000 ;
82
84
83
85
pub const MAP_GROWSDOWN : :: c_int = 0x0100 ;
84
86
Original file line number Diff line number Diff line change 75
75
pub const O_DIRECT : :: c_int = 0x20000 ;
76
76
pub const O_DIRECTORY : :: c_int = 0x4000 ;
77
77
pub const O_NOFOLLOW : :: c_int = 0x8000 ;
78
+ pub const O_LARGEFILE : :: c_int = 0o200000 ;
78
79
79
80
pub const MAP_LOCKED : :: c_int = 0x00080 ;
80
81
pub const MAP_NORESERVE : :: c_int = 0x00040 ;
Original file line number Diff line number Diff line change 174
174
pub const O_DIRECT : :: c_int = 0x4000 ;
175
175
pub const O_DIRECTORY : :: c_int = 0x10000 ;
176
176
pub const O_NOFOLLOW : :: c_int = 0x20000 ;
177
+ pub const O_LARGEFILE : :: c_int = 0o0100000 ;
177
178
178
179
pub const MAP_LOCKED : :: c_int = 0x02000 ;
179
180
pub const MAP_NORESERVE : :: c_int = 0x04000 ;
Original file line number Diff line number Diff line change @@ -98,6 +98,8 @@ pub const O_SYNC: ::c_int = 1052672;
98
98
pub const O_RSYNC : :: c_int = 1052672 ;
99
99
pub const O_DSYNC : :: c_int = 4096 ;
100
100
pub const O_FSYNC : :: c_int = 0x101000 ;
101
+ pub const O_NOATIME : :: c_int = 0o1000000 ;
102
+ pub const O_PATH : :: c_int = 0o10000000 ;
101
103
102
104
pub const MAP_GROWSDOWN : :: c_int = 0x0100 ;
103
105
Original file line number Diff line number Diff line change 49
49
pub const __SIZEOF_PTHREAD_RWLOCK_T: usize = 56 ;
50
50
pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: usize = 8 ;
51
51
52
+ pub const O_LARGEFILE : :: c_int = 0 ;
53
+
52
54
cfg_if ! {
53
55
if #[ cfg( target_arch = "aarch64" ) ] {
54
56
mod aarch64;
Original file line number Diff line number Diff line change @@ -96,6 +96,8 @@ pub const O_SYNC: ::c_int = 1052672;
96
96
pub const O_RSYNC : :: c_int = 1052672 ;
97
97
pub const O_DSYNC : :: c_int = 4096 ;
98
98
pub const O_FSYNC : :: c_int = 0x101000 ;
99
+ pub const O_NOATIME : :: c_int = 0o1000000 ;
100
+ pub const O_PATH : :: c_int = 0o10000000 ;
99
101
100
102
pub const MAP_GROWSDOWN : :: c_int = 0x0100 ;
101
103
Original file line number Diff line number Diff line change @@ -98,6 +98,8 @@ pub const O_SYNC: ::c_int = 0x802000;
98
98
pub const O_RSYNC : :: c_int = 0x802000 ;
99
99
pub const O_DSYNC : :: c_int = 0x2000 ;
100
100
pub const O_FSYNC : :: c_int = 0x802000 ;
101
+ pub const O_NOATIME : :: c_int = 0x200000 ;
102
+ pub const O_PATH : :: c_int = 0x1000000 ;
101
103
102
104
pub const MAP_GROWSDOWN : :: c_int = 0x0200 ;
103
105
Original file line number Diff line number Diff line change @@ -199,6 +199,8 @@ pub const O_SYNC: ::c_int = 1052672;
199
199
pub const O_RSYNC : :: c_int = 1052672 ;
200
200
pub const O_DSYNC : :: c_int = 4096 ;
201
201
pub const O_FSYNC : :: c_int = 0x101000 ;
202
+ pub const O_NOATIME : :: c_int = 0o1000000 ;
203
+ pub const O_PATH : :: c_int = 0o10000000 ;
202
204
203
205
pub const MAP_GROWSDOWN : :: c_int = 0x0100 ;
204
206
Original file line number Diff line number Diff line change @@ -279,8 +279,10 @@ pub const SFD_CLOEXEC: ::c_int = 0x080000;
279
279
pub const NCCS : usize = 32 ;
280
280
281
281
pub const O_TRUNC : :: c_int = 512 ;
282
-
282
+ pub const O_LARGEFILE : :: c_int = 0o0100000 ;
283
+ pub const O_NOATIME : :: c_int = 0o1000000 ;
283
284
pub const O_CLOEXEC : :: c_int = 0x80000 ;
285
+ pub const O_PATH : :: c_int = 0o10000000 ;
284
286
285
287
pub const EBFONT : :: c_int = 59 ;
286
288
pub const ENOSTR : :: c_int = 60 ;
You can’t perform that action at this time.
0 commit comments