- prototype in stdio.h - tests stream for read/write error, return nonzero if error - error remains set until clearerr() or rewind() is called