Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
PennRobotics
4y ago
0 comments
Share
Would perror() return the first/oldest error or the last?
undefined | Better HN
0 comments
default
newest
oldest
andreyv
4y ago
Right — ferror() does not set errno, and so perror() is not appropriate here. fprintf(stderr, ...) would be better.
j
/
k
navigate · click thread line to collapse