HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by PennRobotics | Hacker News Reader
Parent
Full thread
PennRobotics
·
Would perror() return the first/oldest error or the last?
View on HN
andreyv
·
Right — ferror() does not set errno, and so perror() is not appropriate here. fprintf(stderr, ...) would be better.
Reply on news.ycombinator.com