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