fn renameatZ(old_dir_fd: fd_t, old_path: [*:0]const u8, new_dir_fd: fd_t, new_path: [*:0]const u8) RenameError!void

Same as renameat except the parameters are null-terminated byte arrays.

Parameters

old_dir_fd: fd_t,
old_path: [*:0]const u8,
new_dir_fd: fd_t,
new_path: [*:0]const u8,