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