4 ms·
> I believe the first snprintf only returns a negative value if the format string is broken. I encounter bugs all the time that come from the fact that the cal
by knorker 3y ago
> I believe the first snprintf only returns a negative value if the format string is broken.
I encounter bugs all the time that come from the fact that the caller knows the code they call, so they ignore the documented promises.
Let's all at least try to not invoke Hyrum's Law, even for code in the same project.