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

Right — ferror() does not set errno, and so perror() is not appropriate here. fprintf(stderr, ...) would be better.


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

Search: