carta

ferror(3) on FreeBSD

The text ccc831eb1db1, as FreeBSD 7.1-RELEASE shipped it.

check and reset stream status

ferror(3) on FreeBSD now