| author | |
| committer | |
| log | 29cb44358aabe5d30a3ca2917e4bceaf42fb2aaf |
| tree | 567a29610db411eadb4497c5a1002a1235145ef4 |
| parent | 9169bfabd576773a38ce496c5548e7823c12902c |
| signature |
1 files changed, 4 insertions(+), 0 deletions(-)
File.zig+4| ... | @@ -183,3 +183,7 @@ pub fn mmap(self: File) ![]const u8 { | ... | @@ -183,3 +183,7 @@ pub fn mmap(self: File) ![]const u8 { |
| 183 | 0, | 183 | 0, |
| 184 | ); | 184 | ); |
| 185 | } | 185 | } |
| 186 | |||
| 187 | pub fn utime(self: File, times: [2]sys.struct_timespec) !void { | ||
| 188 | return sys.futimens(@intFromEnum(self.fd), times); | ||
| 189 | } |