summaryrefslogtreecommitdiff
path: root/src/unix/linux_like/linux
diff options
context:
space:
mode:
authorXiaobo Liu <cppcoffee@gmail.com>2023-01-08 10:52:27 +0800
committerXiaobo Liu <cppcoffee@gmail.com>2023-01-08 10:52:27 +0800
commit3235a978049ded73d80bccf50efae0a78e28295a (patch)
tree5d763ef24fedd56f9f71dc0045a234e2e122177e /src/unix/linux_like/linux
parent8176272ef9974d6b7da98f129033b3d9ac417226 (diff)
downloadrust-libc-3235a978049ded73d80bccf50efae0a78e28295a.tar.gz
uclibc/mips: add O_NOATIME & O_PATH constant
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
Diffstat (limited to 'src/unix/linux_like/linux')
-rw-r--r--src/unix/linux_like/linux/uclibc/mips/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/linux_like/linux/uclibc/mips/mod.rs b/src/unix/linux_like/linux/uclibc/mips/mod.rs
index 61684094fa..998a080f73 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;