Lines Matching defs:iop
53 ftell(FILE *iop)
59 FLOCKFILE(lk, iop);
60 if (iop->_cnt < 0)
61 iop->_cnt = 0;
62 if (iop->_flag & _IOREAD)
63 adjust = (ptrdiff_t)-iop->_cnt;
64 else if (iop->_flag & (_IOWRT | _IORW)) {
66 if (((iop->_flag & (_IOWRT | _IONBF)) == _IOWRT) &&
67 (iop->_base != 0))
68 adjust = iop->_ptr - iop->_base;
69 else if ((iop->_flag & _IORW) && (iop->_base != 0))
70 adjust = (ptrdiff_t)-iop->_cnt;
77 tres = lseek64(FILENO(iop), 0, SEEK_CUR);