File tree 2 files changed +7
-13
lines changed
2 files changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,13 @@ pub const RLIM_NLIMITS: ::rlim_t = 13;
61
61
pub const Q_GETQUOTA : :: c_int = 0x700 ;
62
62
pub const Q_SETQUOTA : :: c_int = 0x800 ;
63
63
64
+ pub const POSIX_FADV_NORMAL : :: c_int = 0 ;
65
+ pub const POSIX_FADV_RANDOM : :: c_int = 1 ;
66
+ pub const POSIX_FADV_SEQUENTIAL : :: c_int = 2 ;
67
+ pub const POSIX_FADV_WILLNEED : :: c_int = 3 ;
68
+ pub const POSIX_FADV_DONTNEED : :: c_int = 4 ;
69
+ pub const POSIX_FADV_NOREUSE : :: c_int = 5 ;
70
+
64
71
extern {
65
72
pub fn __error ( ) -> * mut :: c_int ;
66
73
}
Original file line number Diff line number Diff line change @@ -334,19 +334,6 @@ pub const POSIX_MADV_SEQUENTIAL: ::c_int = 2;
334
334
pub const POSIX_MADV_WILLNEED : :: c_int = 3 ;
335
335
pub const POSIX_MADV_DONTNEED : :: c_int = 4 ;
336
336
337
- #[ cfg( not( target_os = "dragonfly" ) ) ]
338
- pub const POSIX_FADV_NORMAL : :: c_int = 0 ;
339
- #[ cfg( not( target_os = "dragonfly" ) ) ]
340
- pub const POSIX_FADV_RANDOM : :: c_int = 1 ;
341
- #[ cfg( not( target_os = "dragonfly" ) ) ]
342
- pub const POSIX_FADV_SEQUENTIAL : :: c_int = 2 ;
343
- #[ cfg( not( target_os = "dragonfly" ) ) ]
344
- pub const POSIX_FADV_WILLNEED : :: c_int = 3 ;
345
- #[ cfg( not( target_os = "dragonfly" ) ) ]
346
- pub const POSIX_FADV_DONTNEED : :: c_int = 4 ;
347
- #[ cfg( not( target_os = "dragonfly" ) ) ]
348
- pub const POSIX_FADV_NOREUSE : :: c_int = 5 ;
349
-
350
337
pub const _SC_IOV_MAX: :: c_int = 56 ;
351
338
pub const _SC_GETGR_R_SIZE_MAX: :: c_int = 70 ;
352
339
pub const _SC_GETPW_R_SIZE_MAX: :: c_int = 71 ;
You can’t perform that action at this time.
0 commit comments