fn openFileAbsolute(absolute_path: []const u8, flags: File.OpenFlags) File.OpenError!File

Opens a file for reading or writing, without attempting to create a new file, based on an absolute path. Call File.close to release the resource. Asserts that the path is absolute. See Dir.openFile for a function that operates on both absolute and relative paths. Asserts that the path parameter has no null bytes. See openFileAbsoluteZ for a function that accepts a null-terminated path.

Parameters

absolute_path: []const u8,
flags: File.OpenFlags,