The text cfb0f908fde8, as FreeBSD 11.4-RELEASE shipped it.
check and reset stream status
ferror(3) on FreeBSD now