Function moras::modules::riscv::middleware::backend_api::syscall_input_request

source ยท
pub fn syscall_input_request(pathname: &str) -> Result<(), String>
Expand description

Emits a print syscall output event to the frontend.

  • pathname: Identifier for the tab to which the output should be sent.

Returns Result indicating the success or failure of the event emission.

This function will emit a front_syscall_request event to the frontend, and the payload is a SyscallRequest containing the filepath.

SyscallRequest:

  • filepath: string