Re:Why should I have written ZeroMQ in C, not C++ (2012)
by maxlybbert on Thursday December 13, 2018 @12:37PM
(#18674232)
You would only mark functions where it’s a bad idea to return the error code that way. Printf isn’t a function like that, and fprintf probably isn’t (use case of printing to stderr), but fwrite is.
[ Parent
| on HN ]
Re:Why should I have written ZeroMQ in C, not C++ (2012)
by maxlybbert on Saturday December 15, 2018 @01:29PM
(#18689626)
... “bad idea to ignore the error code” ...
It took a few days to notice.