We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cad9a69 commit 8394276Copy full SHA for 8394276
src/unix/bsd/netbsdlike/netbsd/mod.rs
@@ -272,6 +272,7 @@ pub const O_NOSIGPIPE: ::c_int = 0x1000000;
272
pub const O_SEARCH: ::c_int = 0x800000;
273
pub const O_DIRECTORY: ::c_int = 0x200000;
274
pub const O_DIRECT : ::c_int = 0x00080000;
275
+pub const O_RSYNC : ::c_int = 0x00020000;
276
277
pub const MS_SYNC : ::c_int = 0x4;
278
pub const MS_INVALIDATE : ::c_int = 0x2;
src/unix/bsd/netbsdlike/openbsdlike/mod.rs
@@ -141,6 +141,7 @@ pub const UT_HOSTSIZE: usize = 256;
141
142
pub const O_CLOEXEC: ::c_int = 0x10000;
143
pub const O_DIRECTORY: ::c_int = 0x20000;
144
+pub const O_RSYNC: ::c_int = O_SYNC;
145
146
pub const MS_SYNC : ::c_int = 0x0002;
147
pub const MS_INVALIDATE : ::c_int = 0x0004;
0 commit comments