Function renameZ [src]
Same as rename except the parameters are null-terminated.
Prototype
pub fn renameZ(old_dir: Dir, old_sub_path_z: [*:0]const u8, new_dir: Dir, new_sub_path_z: [*:0]const u8) !void Parameters
old_dir: Dirold_sub_path_z: [*:0]const u8new_dir: Dirnew_sub_path_z: [*:0]const u8 Source
pub fn renameZ(old_dir: Dir, old_sub_path_z: [*:0]const u8, new_dir: Dir, new_sub_path_z: [*:0]const u8) !void {
return posix.renameatZ(old_dir.fd, old_sub_path_z, new_dir.fd, new_sub_path_z);
}