pub fn write_syscall( writer: impl Write, sim_time: &EmulatedTime, tid: ThreadId, name: impl Display, args: impl Display, rv: impl Display, ) -> Result<()>
Format and write the syscall.