carta

ferror(3) on FreeBSD

The text 5f16f0483c59, as FreeBSD 8.0-RELEASE shipped it.

check and reset stream status

ferror(3) on FreeBSD now