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