Lines Matching defs:fp
27 fseterr (FILE *fp)
33 fp->_flags |= _IO_ERR_SEEN;
37 fp->_flags |= _IOERR;
39 fp->_flags |= _IOERR;
43 fp->__modeflags |= __FLAG_ERROR;
45 fp->_Mode |= 0x200 /* _MERR */;
47 fp->__error = 1;
49 if (fp->state != 0 /* CLOSED */)
50 fp->state = 5 /* ERR */;
62 fflush (fp);
63 fd = fileno (fp);
68 fputc ('\0', fp); /* This should set the error indicator. */
69 fflush (fp); /* Or this. */