The stream pointer passed to the __fpending() or __fpending_unlocked() function is not a valid file pointer with POSIX(ON).
Pass a valid file pointer to __fpending() or __fpending_unlocked().
JrEdcFioeEbadf03