Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


... “bad idea to ignore the error code” ...

It took a few days to notice.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: