Commit d18f1dde41

Brandon Black <bblack@wikimedia.org>
2025-10-17 14:42:05
os.linux.timeval: use same field names as std.c
Otherwise, the field names in std.posix.timeval vary by target os. I think this was an accidental change during the work of #25610
1 parent 798f6b8
Changed files (1)
lib
std
lib/std/os/linux.zig
@@ -8429,8 +8429,8 @@ pub const POSIX_FADV = switch (native_arch) {
 };
 
 pub const timeval = extern struct {
-    tv_sec: isize,
-    tv_usec: i64,
+    sec: isize,
+    usec: i64,
 };
 
 pub const timezone = extern struct {