cpp/io/c/ferror

Checks the given stream for errors.

Return value
Nonzero value if the file stream has errors occurred, otherwise