From 3235a978049ded73d80bccf50efae0a78e28295a Mon Sep 17 00:00:00 2001 From: Xiaobo Liu Date: Sun, 8 Jan 2023 10:52:27 +0800 Subject: [PATCH] uclibc/mips: add O_NOATIME & O_PATH constant Signed-off-by: Xiaobo Liu --- src/unix/linux_like/linux/uclibc/mips/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/unix/linux_like/linux/uclibc/mips/mod.rs b/src/unix/linux_like/linux/uclibc/mips/mod.rs index 61684094fa9f8..998a080f73fbc 100644 --- a/src/unix/linux_like/linux/uclibc/mips/mod.rs +++ b/src/unix/linux_like/linux/uclibc/mips/mod.rs @@ -38,6 +38,8 @@ pub const O_ACCMODE: ::c_int = 3; pub const O_DIRECT: ::c_int = 0x8000; pub const O_DIRECTORY: ::c_int = 0x10000; pub const O_NOFOLLOW: ::c_int = 0x20000; +pub const O_NOATIME: ::c_int = 0x40000; +pub const O_PATH: ::c_int = 0o010000000; pub const O_APPEND: ::c_int = 8; pub const O_CREAT: ::c_int = 256;