File tree Expand file tree Collapse file tree 23 files changed +34
-3
lines changed Expand file tree Collapse file tree 23 files changed +34
-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 ;
You can’t perform that action at this time.
0 commit comments