Function create_raw

Source
pub unsafe fn create_raw(
    name: impl AsRef<CStr>,
    flags: c_uint,
) -> Result<UnmanagedFD>
Expand description

Create a raw, unmanaged, memory file with these flags and this name.

ยงSafety

The reference obtained by name must not move as long as the Ok() result is alive.