| author | |
| committer | |
| log | c855473c8bd15dd24a4e8b6911b7e006062004ba |
| tree | 26399a49b0aa8915d0acad7b8c042ae98e4af5bd |
| parent | ff118ab7234a8881b4c03a47e27ac9b204309ce1 |
| signature |
1 files changed, 4 insertions(+), 0 deletions(-)
File.zig+4| ... | ... | @@ -219,3 +219,7 @@ pub fn isatty(self: File) bool { |
| 219 | 219 | pub fn seekTo(self: File, pos: u64) !void { |
| 220 | 220 | return sys.lseek(@intFromEnum(self.fd), @bitCast(pos), sys.SEEK.SET); |
| 221 | 221 | } |
| 222 | ||
| 223 | pub fn chmod(self: File, mode: Mode) !void { | |
| 224 | return sys.fchmod(@intFromEnum(self.fd), mode); | |
| 225 | } |