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 {
14821482 /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fsync.html
14831483 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
14851489 /// int getaddrinfo(const char *restrict nodename, const char *restrict servname, const struct addrinfo *restrict hints, struct addrinfo **restrict res);
14861490 /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/getaddrinfo.html
14871491 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 {
27782782 pub extern fn sched_getaffinity(pid: pid_t, cpusetsize: usize, mask: *cpu_set_t) c_int;
27792783 pub extern fn getrandom(buf: [*]u8, size: usize, flags: c_uint) isize;
27802784 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;
27822785};
27832786
27842787comptime {