| ... | @@ -694,7 +694,7 @@ pub const Dir = struct { | ... | @@ -694,7 +694,7 @@ pub const Dir = struct { |
| 694 | return self.openFileZ(&path_c, flags); | 694 | return self.openFileZ(&path_c, flags); |
| 695 | } | 695 | } |
| 696 | | 696 | |
| 697 | /// Save as `openFile` but WASI only. | 697 | /// Same as `openFile` but WASI only. |
| 698 | pub fn openFileWasi(self: Dir, sub_path: []const u8, flags: File.OpenFlags) File.OpenError!File { | 698 | pub fn openFileWasi(self: Dir, sub_path: []const u8, flags: File.OpenFlags) File.OpenError!File { |
| 699 | const w = os.wasi; | 699 | const w = os.wasi; |
| 700 | var fdflags: w.fdflags_t = 0x0; | 700 | var fdflags: w.fdflags_t = 0x0; |