File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -338,6 +338,12 @@ bitflags! {
338
338
#[ cfg( any( linux_kernel, solarish) ) ]
339
339
const LARGEFILE = bitcast!( c:: O_LARGEFILE ) ;
340
340
341
+ /// `O_ASYNC`, `FASYNC`
342
+ ///
343
+ /// Note that this flag can't be used with `open(2)`
344
+ #[ cfg( not( any( target_os = "haiku" , solarish) ) ) ]
345
+ const ASYNC = bitcast!( c:: O_ASYNC ) ;
346
+
341
347
/// <https://docs.rs/bitflags/*/bitflags/#externally-defined-flags>
342
348
const _ = !0 ;
343
349
}
Original file line number Diff line number Diff line change @@ -257,6 +257,11 @@ bitflags! {
257
257
/// It will may be reported in return of `fcntl_getfl`, though.
258
258
const LARGEFILE = linux_raw_sys:: general:: O_LARGEFILE ;
259
259
260
+ /// `O_ASYNC`, `FASYNC`
261
+ ///
262
+ /// Note that this flag can't be used with `open(2)`
263
+ const ASYNC = linux_raw_sys:: general:: FASYNC ;
264
+
260
265
/// <https://docs.rs/bitflags/*/bitflags/#externally-defined-flags>
261
266
const _ = !0 ;
262
267
}
You can’t perform that action at this time.
0 commit comments