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