carta

ferror(3) on FreeBSD

The text a0d624b97368, as FreeBSD 11.1-RELEASE shipped it.

check and reset stream status

ferror(3) on FreeBSD now