File tree Expand file tree Collapse file tree 6 files changed +15
-6
lines changed
src/unix/notbsd/linux/musl Expand file tree Collapse file tree 6 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ pub type loff_t = ::c_longlong;
4
4
pub type ino_t = u64 ;
5
5
pub type off_t = i64 ;
6
6
pub type blkcnt_t = i64 ;
7
- pub type blksize_t = c_long ;
7
+ pub type blksize_t = :: c_long ;
8
8
pub type fsblkcnt_t = :: c_ulonglong ;
9
9
pub type fsfilcnt_t = :: c_ulonglong ;
10
10
pub type dev_t = u64 ;
@@ -249,6 +249,8 @@ pub const ENOTRECOVERABLE: ::c_int = 131;
249
249
pub const ERFKILL : :: c_int = 132 ;
250
250
pub const EHWPOISON : :: c_int = 133 ;
251
251
252
+ pub const POSIX_MADV_DONTNEED : :: c_int = 4 ;
253
+
252
254
pub const SO_REUSEADDR : :: c_int = 2 ;
253
255
pub const SO_TYPE : :: c_int = 3 ;
254
256
pub const SO_ERROR : :: c_int = 4 ;
Original file line number Diff line number Diff line change @@ -249,6 +249,8 @@ pub const ENOTRECOVERABLE: ::c_int = 131;
249
249
pub const ERFKILL : :: c_int = 132 ;
250
250
pub const EHWPOISON : :: c_int = 133 ;
251
251
252
+ pub const POSIX_MADV_DONTNEED : :: c_int = 0 ;
253
+
252
254
pub const SO_REUSEADDR : :: c_int = 2 ;
253
255
pub const SO_TYPE : :: c_int = 3 ;
254
256
pub const SO_ERROR : :: c_int = 4 ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ pub type loff_t = ::c_longlong;
4
4
pub type ino_t = u64 ;
5
5
pub type off_t = i64 ;
6
6
pub type blkcnt_t = i64 ;
7
- pub type blksize_t = c_long ;
7
+ pub type blksize_t = :: c_long ;
8
8
pub type fsblkcnt_t = :: c_ulonglong ;
9
9
pub type fsfilcnt_t = :: c_ulonglong ;
10
10
pub type dev_t = u64 ;
@@ -251,6 +251,8 @@ pub const ENOTRECOVERABLE: ::c_int = 166;
251
251
pub const EHWPOISON : :: c_int = 168 ;
252
252
pub const ERFKILL : :: c_int = 167 ;
253
253
254
+ pub const POSIX_MADV_DONTNEED : :: c_int = 4 ;
255
+
254
256
pub const SOCK_STREAM : :: c_int = 2 ;
255
257
pub const SOCK_DGRAM : :: c_int = 1 ;
256
258
pub const SOCK_SEQPACKET : :: c_int = 5 ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ pub type loff_t = ::c_longlong;
4
4
pub type ino_t = u64 ;
5
5
pub type off_t = i64 ;
6
6
pub type blkcnt_t = i64 ;
7
- pub type blksize_t = c_long ;
7
+ pub type blksize_t = :: c_long ;
8
8
pub type fsblkcnt_t = :: c_ulonglong ;
9
9
pub type fsfilcnt_t = :: c_ulonglong ;
10
10
pub type dev_t = u64 ;
@@ -262,6 +262,8 @@ pub const ENOTRECOVERABLE: ::c_int = 131;
262
262
pub const ERFKILL : :: c_int = 132 ;
263
263
pub const EHWPOISON : :: c_int = 133 ;
264
264
265
+ pub const POSIX_MADV_DONTNEED : :: c_int = 4 ;
266
+
265
267
pub const SO_REUSEADDR : :: c_int = 2 ;
266
268
pub const SO_TYPE : :: c_int = 3 ;
267
269
pub const SO_ERROR : :: c_int = 4 ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ pub type loff_t = ::c_longlong;
6
6
pub type ino_t = u64 ;
7
7
pub type off_t = i64 ;
8
8
pub type blkcnt_t = i64 ;
9
- pub type blksize_t = c_long ;
9
+ pub type blksize_t = :: c_long ;
10
10
pub type fsblkcnt_t = :: c_ulonglong ;
11
11
pub type fsfilcnt_t = :: c_ulonglong ;
12
12
pub type dev_t = u64 ;
@@ -276,6 +276,8 @@ pub const ENOTRECOVERABLE: ::c_int = 131;
276
276
pub const ERFKILL : :: c_int = 132 ;
277
277
pub const EHWPOISON : :: c_int = 133 ;
278
278
279
+ pub const POSIX_MADV_DONTNEED : :: c_int = 4 ;
280
+
279
281
pub const SO_REUSEADDR : :: c_int = 2 ;
280
282
pub const SO_TYPE : :: c_int = 3 ;
281
283
pub const SO_ERROR : :: c_int = 4 ;
Original file line number Diff line number Diff line change @@ -124,10 +124,9 @@ pub const O_ACCMODE: ::c_int = 0o10000003;
124
124
pub const O_NDELAY : :: c_int = O_NONBLOCK ;
125
125
pub const NI_MAXHOST : :: socklen_t = 255 ;
126
126
pub const PTHREAD_STACK_MIN : :: size_t = 2048 ;
127
- pub const POSIX_FADV_DONTNEED : :: c_int = 4 ;
128
127
pub const POSIX_FADV_NOREUSE : :: c_int = 5 ;
129
128
130
- pub const POSIX_MADV_DONTNEED : :: c_int = 4 ;
129
+ pub const POSIX_FADV_DONTNEED : :: c_int = 4 ;
131
130
132
131
pub const RLIM_INFINITY : :: rlim_t = !0 ;
133
132
pub const RLIMIT_RTTIME : :: c_int = 15 ;
You can’t perform that action at this time.
0 commit comments