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