The text 5b3c5a6bda0e, as FreeBSD 10.3-RELEASE shipped it.
check and reset stream status
feof(3) on FreeBSD now