Skip to content

Commit f4bbd7f

Browse files
committed
Auto merge of #737 - Susurrus:android_fcntl, r=alexcrichton
Add more fcntl constants for android
2 parents 13478d0 + e397134 commit f4bbd7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/notbsd/android/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ s! {
171171

172172
pub const O_TRUNC: ::c_int = 512;
173173
pub const O_CLOEXEC: ::c_int = 0x80000;
174+
pub const O_PATH: ::c_int = 0o10000000;
175+
pub const O_NOATIME: ::c_int = 0o1000000;
174176

175177
pub const EBFONT: ::c_int = 59;
176178
pub const ENOSTR: ::c_int = 60;

0 commit comments

Comments
 (0)