carta

feof(3) on FreeBSD

The text 2e4c7d19a214, as FreeBSD 9.0-RELEASE shipped it.

check and reset stream status

feof(3) on FreeBSD now