The text 36bf7fc21019, as Debian 12 (Bookworm) shipped it.
check and reset stream status
ferror(3) on Linux now