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