We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3209714 commit 96717d6Copy full SHA for 96717d6
src/core/sys/posix/fcntl.d
@@ -140,6 +140,19 @@ version( linux )
140
enum O_RSYNC = O_SYNC;
141
enum O_SYNC = 0x0010;
142
}
143
+ else version (PPC64)
144
+ {
145
+ enum O_CREAT = 0x40; // octal 0100
146
+ enum O_EXCL = 0x80; // octal 0200
147
+ enum O_NOCTTY = 0x100; // octal 0400
148
+ enum O_TRUNC = 0x200; // octal 01000
149
+
150
+ enum O_APPEND = 0x400; // octal 02000
151
+ enum O_NONBLOCK = 0x800; // octal 04000
152
+ enum O_SYNC = 0x101000; // octal 04010000
153
+ enum O_DSYNC = 0x1000; // octal 010000
154
+ enum O_RSYNC = O_DSYNC;
155
+ }
156
else
157
static assert(0, "unimplemented");
158
0 commit comments