diff --git a/lib/std/c.zig b/lib/std/c.zig index ee19ef73c3..853712abd4 100644 --- a/lib/std/c.zig +++ b/lib/std/c.zig @@ -149,6 +149,10 @@ pub extern "c" fn realloc(?*c_void, usize) ?*c_void; pub extern "c" fn free(*c_void) void; pub extern "c" fn posix_memalign(memptr: **c_void, alignment: usize, size: usize) c_int; +// Deprecated +pub extern "c" fn futimes(fd: fd_t, times: *[2]timeval) c_int; +pub extern "c" fn utimes(path: [*]const u8, times: *[2]timeval) c_int; + pub extern "c" fn utimensat(dirfd: fd_t, pathname: [*]const u8, times: *[2]timespec, flags: u32) c_int; pub extern "c" fn futimens(fd: fd_t, times: *const [2]timespec) c_int;