pub unsafe extern "C" fn krun_set_console_output(
ctx_id: u32,
c_filepath: *const c_char,
) -> i32Expand description
Configures the console device to ignore stdin and write the output to “c_filepath”.
Arguments: “ctx_id” - the configuration context ID. “filepath” - a null-terminated string representing the path of the file to write the console output.
Notes:
This API only applies to the implicitly created console. If the implicit console is
disabled via krun_disable_implicit_console the operation is a NOOP. Additionally,
this API does not have any effect on consoles created via the krun_add_*_console_default
APIs.