Skip to content

Commit 4e59d5e

Browse files
committed
solarish add fcntl's O_DIRECT constant.
1 parent 9899913 commit 4e59d5e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/unix/solarish/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1294,12 +1294,13 @@ pub const O_EXCL: ::c_int = 1024;
12941294
pub const O_NOCTTY: ::c_int = 2048;
12951295
pub const O_TRUNC: ::c_int = 512;
12961296
pub const O_NOFOLLOW: ::c_int = 0x20000;
1297-
pub const O_DIRECTORY: ::c_int = 0x1000000;
12981297
pub const O_SEARCH: ::c_int = 0x200000;
12991298
pub const O_EXEC: ::c_int = 0x400000;
13001299
pub const O_CLOEXEC: ::c_int = 0x800000;
13011300
pub const O_ACCMODE: ::c_int = 0x600003;
13021301
pub const O_XATTR: ::c_int = 0x4000;
1302+
pub const O_DIRECTORY: ::c_int = 0x1000000;
1303+
pub const O_DIRECT: ::c_int = 0x2000000;
13031304
pub const S_IFIFO: mode_t = 4096;
13041305
pub const S_IFCHR: mode_t = 8192;
13051306
pub const S_IFBLK: mode_t = 24576;

0 commit comments

Comments
 (0)