Lines Matching refs:iop
47 setbuf(FILE *iop, char *abuf) in setbuf() argument
50 int fno = _get_fd(iop); /* file number */ in setbuf()
55 FLOCKFILE(lk, iop); in setbuf()
56 if ((iop->_base != NULL) && (iop->_flag & _IOMYBUF)) in setbuf()
57 free((char *)iop->_base - PUSHBACK); in setbuf()
58 iop->_flag &= ~(_IOMYBUF | _IONBF | _IOLBF); in setbuf()
60 iop->_flag |= _IONBF; in setbuf()
69 iop->_flag |= _IOMYBUF; in setbuf()
81 iop->_flag |= _IOLBF; in setbuf()
90 iop->_base = temp; in setbuf()
91 _setbufend(iop, temp + size); in setbuf()
92 iop->_ptr = temp; in setbuf()
93 iop->_cnt = 0; in setbuf()