| ... | @@ -3517,3 +3517,8 @@ pub fn futimens(fd: c_int, times: [2]struct_timespec) !void { | ... | @@ -3517,3 +3517,8 @@ pub fn futimens(fd: c_int, times: [2]struct_timespec) !void { |
| 3517 | if (rc == -1) return errno.fromInt(errno.fromLibC()); | 3517 | if (rc == -1) return errno.fromInt(errno.fromLibC()); |
| 3518 | std.debug.assert(rc == 0); | 3518 | std.debug.assert(rc == 0); |
| 3519 | } | 3519 | } |
| | 3520 | pub fn faccessat(fd: c_int, path: [*:0]const u8, amode: c_int, flag: c_int) !void { |
| | 3521 | const rc = libc.faccessat(fd, path, amode, flag); |
| | 3522 | if (rc == -1) return errno.fromInt(errno.fromLibC()); |
| | 3523 | std.debug.assert(rc == 0); |
| | 3524 | } |