carta

ferror(3) on FreeBSD

The text 59e14edae772, as FreeBSD 7.0-RELEASE shipped it.

check and reset stream status

ferror(3) on FreeBSD now