Lines Matching defs:iop
51 fputs(const char *ptr, FILE *iop)
60 FLOCKFILE(lk, iop);
62 _SET_ORIENTATION_BYTE(iop);
64 if (_WRTCHK(iop)) {
68 bufend = _bufend(iop);
71 if ((iop->_flag & _IONBF) == 0) {
73 while ((n = bufend - (cptr = iop->_ptr)) <= 0) {
75 if (_xflsbuf(iop) == EOF) {
81 * n: number of available bytes in the buffer of 'iop'
85 * the buffer of 'iop' (ptrlen <= n), 'len' is set to
88 * of 'iop'.
92 iop->_cnt -= len;
93 iop->_ptr += len;
94 if (_needsync(iop, bufend))
95 _bufsync(iop, bufend);
100 * the buffer of 'iop'.
103 if (iop->_flag & _IOLBF)
104 if (_xflsbuf(iop) == EOF) {
121 int fd = GET_FD(iop);
126 iop->_flag |= _IOERR;