...
ERR01-A. Use ferror() rather than errno to check for FILE stream errors 13. Error Handling (ERR) ERR30ERR03-C. Set errno to zero before calling a function, and use it only after the function returns a value indicating failureA. Use runtime-constraint handlers when calling functions defined by TR24731-1