Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
PennRobotics
4y ago
0 comments
Save
Share
Would perror() return the first/oldest error or the last?
0 comments
1 comments · 1 top-level
top
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