Function open_unsafe

Source
pub unsafe fn open_unsafe(
    path: *const u8,
    open::Flags: Flags,
    open::Mode: Mode,
) -> Result<File, Error>
Expand description

Open a file from the file system.

ยงSafety

path must be null-terminated.