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 cfde228 commit 0358ea8Copy full SHA for 0358ea8
src/unix/redox/mod.rs
@@ -533,6 +533,12 @@ pub const SA_RESTART: ::c_ulong = 0x10000000;
533
pub const SA_NODEFER: ::c_ulong = 0x40000000;
534
pub const SA_RESETHAND: ::c_ulong = 0x80000000;
535
536
+// sys/file.h
537
+pub const LOCK_SH: ::c_int = 1;
538
+pub const LOCK_EX: ::c_int = 2;
539
+pub const LOCK_NB: ::c_int = 4;
540
+pub const LOCK_UN: ::c_int = 8;
541
+
542
// sys/epoll.h
543
pub const EPOLL_CLOEXEC: ::c_int = 0x0100_0000;
544
pub const EPOLL_CTL_ADD: ::c_int = 1;
0 commit comments