authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-13 12:30:39 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-13 12:30:39 -07:00
log3bd1741a481f4a49776ab38d105dbd7bc87c139b
tree79b924cbbf785e9101d308f4982b425908329332
parentaa86e0d87f9fd0678af59e92f018cd9d698742c2
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

move futimens extern


1 files changed, 4 insertions(+), 1 deletions(-)

mod.zig+4-1
...@@ -1482,6 +1482,10 @@ pub const libc = struct {...@@ -1482,6 +1482,10 @@ pub const libc = struct {
1482 /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fsync.html1482 /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fsync.html
1483 pub extern fn fsync(fd: c_int) c_int;1483 pub extern fn fsync(fd: c_int) c_int;
14841484
1485 /// int futimens(int fd, const struct timespec times[2]);
1486 /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/futimens.html
1487 pub extern fn futimens(fd: c_int, times: *const [2]struct_timespec) c_int;
1488
1485 /// int getaddrinfo(const char *restrict nodename, const char *restrict servname, const struct addrinfo *restrict hints, struct addrinfo **restrict res);1489 /// int getaddrinfo(const char *restrict nodename, const char *restrict servname, const struct addrinfo *restrict hints, struct addrinfo **restrict res);
1486 /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/getaddrinfo.html1490 /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/getaddrinfo.html
1487 pub extern fn getaddrinfo(noalias nodename: ?[*:0]const u8, noalias servname: ?[*:0]const u8, noalias req: ?*const struct_addrinfo, noalias pai: **const struct_addrinfo) c_int;1491 pub extern fn getaddrinfo(noalias nodename: ?[*:0]const u8, noalias servname: ?[*:0]const u8, noalias req: ?*const struct_addrinfo, noalias pai: **const struct_addrinfo) c_int;
...@@ -2778,7 +2782,6 @@ pub const libc = struct {...@@ -2778,7 +2782,6 @@ pub const libc = struct {
2778 pub extern fn sched_getaffinity(pid: pid_t, cpusetsize: usize, mask: *cpu_set_t) c_int;2782 pub extern fn sched_getaffinity(pid: pid_t, cpusetsize: usize, mask: *cpu_set_t) c_int;
2779 pub extern fn getrandom(buf: [*]u8, size: usize, flags: c_uint) isize;2783 pub extern fn getrandom(buf: [*]u8, size: usize, flags: c_uint) isize;
2780 pub extern fn flock(fd: c_int, op: c_int) c_int;2784 pub extern fn flock(fd: c_int, op: c_int) c_int;
2781 pub extern fn futimens(fd: c_int, times: *const [2]struct_timespec) c_int;
2782};2785};
27832786
2784comptime {2787comptime {