shadow_rs::host::syscall::formatter

Function write_syscall

source
pub fn write_syscall(
    writer: impl Write,
    sim_time: &EmulatedTime,
    tid: ThreadId,
    name: impl Display,
    args: impl Display,
    rv: impl Display,
) -> Result<()>
Expand description

Format and write the syscall.