carta

ferror(3) on FreeBSD

The text 080d195da02e, as FreeBSD 12.4-RELEASE shipped it.

check and reset stream status

ferror(3) on FreeBSD now