Lines Matching refs:iop
41 _wrtchk(FILE *iop) in _wrtchk() argument
43 if ((iop->_flag & (_IOWRT | _IOEOF)) != _IOWRT) { in _wrtchk()
44 if (!(iop->_flag & (_IOWRT | _IORW))) { in _wrtchk()
45 iop->_flag |= _IOERR; in _wrtchk()
49 iop->_flag = (iop->_flag & ~_IOEOF) | _IOWRT; in _wrtchk()
53 if (iop->_base == NULL && _findbuf(iop) == NULL) in _wrtchk()
55 else if ((iop->_ptr == iop->_base) && in _wrtchk()
56 !(iop->_flag & (_IOLBF | _IONBF))) { in _wrtchk()
57 iop->_cnt = _bufend(iop) - iop->_ptr; in _wrtchk()