From clang-scan-19:
After calling 'rewind' reading 'errno' is required to find out if the call has failed (in interfaceiter.c).