Add O_SYNC for redox

This commit is contained in:
Jeremy Soller
2024-09-19 15:44:46 -06:00
parent eb33ac46f9
commit 73fcc88aa2
+1
View File
@@ -10,6 +10,7 @@ pub const O_SHLOCK: c_int = 0x0010_0000;
pub const O_EXLOCK: c_int = 0x0020_0000;
pub const O_ASYNC: c_int = 0x0040_0000;
pub const O_FSYNC: c_int = 0x0080_0000;
pub const O_SYNC: c_int = O_FSYNC;
pub const O_CLOEXEC: c_int = 0x0100_0000;
pub const O_CREAT: c_int = 0x0200_0000;
pub const O_TRUNC: c_int = 0x0400_0000;