akaletF
Re:More Memory Safety for Let's Encrypt: Deploying ntpd-rs
on Monday June 24, 2024 @05:29PM (#40781032)
I don't know. Most serious programs will use write() and then check the return value. In locations where it does not matter (say a test suite that is guaranteed to signal an error but an fprintf() error message could fail in theory) not checking is fine I think.
You will not see the message if you get a panic either ...
Re:More Memory Safety for Let's Encrypt: Deploying ntpd-rs
on Monday June 24, 2024 @05:19PM (#40780927)
If println panics if the write fails that is kind of cheating, isn't it. Yes, toy C programs do not check the return value of printf. So what.