| ... | @@ -687,7 +687,7 @@ pub const Dir = struct { | ... | @@ -687,7 +687,7 @@ pub const Dir = struct { |
| 687 | return self.openFileZ(&path_c, flags); | 687 | return self.openFileZ(&path_c, flags); |
| 688 | } | 688 | } |
| 689 | | 689 | |
| 690 | /// Save as `openFile` but WASI only. | 690 | /// Same as `openFile` but WASI only. |
| 691 | pub fn openFileWasi(self: Dir, sub_path: []const u8, flags: File.OpenFlags) File.OpenError!File { | 691 | pub fn openFileWasi(self: Dir, sub_path: []const u8, flags: File.OpenFlags) File.OpenError!File { |
| 692 | const w = os.wasi; | 692 | const w = os.wasi; |
| 693 | var fdflags: w.fdflags_t = 0x0; | 693 | var fdflags: w.fdflags_t = 0x0; |