Skip to main content
Fixed per comment
Source Link
johnsyweb
  • 142.9k
  • 26
  • 197
  • 253

ferror() will tell you whatwhen something is wrong.

You can print the actual error message using perror().

ferror() will tell you what is wrong.

You can print the error message using perror().

ferror() will tell when something is wrong.

You can print the actual error message using perror().

Source Link
johnsyweb
  • 142.9k
  • 26
  • 197
  • 253

ferror() will tell you what is wrong.

You can print the error message using perror().