File tree 3 files changed +14
-7
lines changed
3 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,9 @@ use crate::io;
7
7
use bitflags:: bitflags;
8
8
9
9
bitflags ! {
10
- /// `IN_*` for use with [`Inotify::new`].
10
+ /// `IN_*` for use with [`inotify_init`].
11
+ ///
12
+ /// [`inotify_init`]: crate::fs::inotify::inotify_init
11
13
pub struct CreateFlags : c:: c_int {
12
14
/// `IN_CLOEXEC`
13
15
const CLOEXEC = c:: IN_CLOEXEC ;
@@ -17,7 +19,9 @@ bitflags! {
17
19
}
18
20
19
21
bitflags ! {
20
- /// `IN*` for use with [`Inotify::add_watch`].
22
+ /// `IN*` for use with [`inotify_add_watch`].
23
+ ///
24
+ /// [`inotify_add_watch`]: crate::fs::inotify::inotify_add_watch
21
25
#[ derive( Default ) ]
22
26
pub struct WatchFlags : u32 {
23
27
/// `IN_ACCESS`
@@ -67,7 +71,7 @@ bitflags! {
67
71
}
68
72
}
69
73
70
- /// `inotify_init1(flags)`—Creates a new `Inotify` .
74
+ /// `inotify_init1(flags)`—Creates a new inotify object .
71
75
///
72
76
/// Use the [`CreateFlags::CLOEXEC`] flag to prevent the resulting file
73
77
/// descriptor from being implicitly passed across `exec` boundaries.
Original file line number Diff line number Diff line change @@ -7,7 +7,9 @@ use crate::io;
7
7
use bitflags:: bitflags;
8
8
9
9
bitflags ! {
10
- /// `IN_*` for use with [`Inotify::new`].
10
+ /// `IN_*` for use with [`inotify_init`].
11
+ ///
12
+ /// [`inotify_init`]: crate::fs::inotify::inotify_init
11
13
pub struct CreateFlags : c:: c_uint {
12
14
/// `IN_CLOEXEC`
13
15
const CLOEXEC = linux_raw_sys:: general:: IN_CLOEXEC ;
@@ -17,7 +19,9 @@ bitflags! {
17
19
}
18
20
19
21
bitflags ! {
20
- /// `IN*` for use with [`Inotify::add_watch`].
22
+ /// `IN*` for use with [`inotify_add_watch`].
23
+ ///
24
+ /// [`inotify_add_watch`]: crate::fs::inotify::inotify_add_watch
21
25
#[ derive( Default ) ]
22
26
pub struct WatchFlags : c:: c_uint {
23
27
/// `IN_ACCESS`
@@ -67,7 +71,7 @@ bitflags! {
67
71
}
68
72
}
69
73
70
- /// `inotify_init1(flags)`—Creates a new `Inotify` .
74
+ /// `inotify_init1(flags)`—Creates a new inotify object .
71
75
///
72
76
/// Use the [`CreateFlags::CLOEXEC`] flag to prevent the resulting file
73
77
/// descriptor from being implicitly passed across `exec` boundaries.
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ pub use backend::io::io_slice::{IoSlice, IoSliceMut};
11
11
#[ cfg( feature = "std" ) ]
12
12
pub use std:: io:: { IoSlice , IoSliceMut } ;
13
13
14
- /// `RWF_*` constants for use with [`preadv2`] and [`pwritev2`].
15
14
#[ cfg( any( target_os = "android" , target_os = "linux" ) ) ]
16
15
pub use backend:: io:: types:: ReadWriteFlags ;
17
16
You can’t perform that action at this time.
0 commit comments