carta

feof(3) on FreeBSD

The text bf96ae97e0a8, as FreeBSD 8.4-RELEASE shipped it.

check and reset stream status

feof(3) on FreeBSD now