How do write! and writeln! macros handle EINTR? And partial writes?

Do they work similarly to io::Write::write_all()?

If not, am I supposed to use wtr.write_all(format!("{}", var).as_bytes()) instead?

The write! macros call Write::write_fmt, which uses Write::write_all.

So this is what I was looking for, I guess:

I found this - - at first and that threw me off.


This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.