Function sysopen

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

Opens the file with the path path and puts the resource id in dest_fd

path must be valid utf-8