Function load_script

Source
pub fn load_script(buf: &mut [u8], offset: usize) -> Result<usize, SysError>
Available on neither crate feature native-simulator nor crate feature stub-syscalls.
Expand description

Load script

Return the loaded data length or a syscall error

ยงArguments

  • buf - a writable buf used to receive the data
  • offset - offset