Function sysopen

Source
#[no_mangle]
pub extern "C" fn sysopen(
    path_ptr: StrPtr,
    path_len: usize,
    options: OpenOptions,
    dest_fd: RequiredPtrMut<Ri>,
) -> SyscallResult
Expand description

Opens the file with the path path and puts the resource id in dest_fd, with a given mode (permissions and flags)

path must be valid utf-8