Function renameW [src]

Same as rename except the parameters are WTF16LE, NT prefixed. This function is Windows-only.

Prototype

pub fn renameW(old_dir: Dir, old_sub_path_w: []const u16, new_dir: Dir, new_sub_path_w: []const u16) !void

Parameters

old_dir: Dirold_sub_path_w: []const u16new_dir: Dirnew_sub_path_w: []const u16

Source

pub fn renameW(old_dir: Dir, old_sub_path_w: []const u16, new_dir: Dir, new_sub_path_w: []const u16) !void { return posix.renameatW(old_dir.fd, old_sub_path_w, new_dir.fd, new_sub_path_w, windows.TRUE); }