The text fd97833ca5a6, as Debian 13 (Trixie) shipped it.
check and reset stream status
ferror(3) on Linux now