Function createFileAbsoluteZ [src]
Same as createFileAbsolute but the path parameter is null-terminated.
Prototype
pub fn createFileAbsoluteZ(absolute_path_c: [*:0]const u8, flags: File.CreateFlags) File.OpenError!File
Parameters
absolute_path_c: [*:0]const u8
flags: File.CreateFlags
Source
pub fn createFileAbsoluteZ(absolute_path_c: [*:0]const u8, flags: File.CreateFlags) File.OpenError!File {
assert(path.isAbsoluteZ(absolute_path_c));
return cwd().createFileZ(absolute_path_c, flags);
}