| author | |
| committer | |
| log | d5644cedf60338f1dc23e33c7167112a46ede854 |
| tree | 741cba50399fbc95a74321db7c5c29e5a044343c |
| parent | b49fdea61f8a48c7b677a6187b3c3c19e7f2f862 |
| signature |
2 files changed, 6 insertions(+), 0 deletions(-)
mod.zig+5| ... | ... | @@ -3517,3 +3517,8 @@ pub fn futimens(fd: c_int, times: [2]struct_timespec) !void { |
| 3517 | 3517 | if (rc == -1) return errno.fromInt(errno.fromLibC()); |
| 3518 | 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 | } |
test.zig+1| ... | ... | @@ -62,4 +62,5 @@ test { |
| 62 | 62 | _ = &linux.getrandom; |
| 63 | 63 | _ = &linux.flock; |
| 64 | 64 | _ = &linux.futimens; |
| 65 | _ = &linux.faccessat; | |
| 65 | 66 | } |