carta

feof(3) on FreeBSD

The text cfb0f908fde8, as FreeBSD 11.4-RELEASE shipped it.

check and reset stream status

feof(3) on FreeBSD now