carta

feof(3) on FreeBSD

The text ffb040e77cc0, as FreeBSD 12.3-RELEASE shipped it.

check and reset stream status

feof(3) on FreeBSD now