Same as ferror, except used only within a scope protected by flockfile and funlockfile. Format #include <stdio.h> int ferror_unlocked (FILE *file_ptr);