Home
last modified time | relevance | path

Searched refs:_IOREAD (Results 1 – 25 of 33) sorted by relevance

12

/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dfseek.c56 if (!(iop->_flag & _IOREAD) && !(iop->_flag & (_IOWRT | _IORW))) { in fseek()
62 if (iop->_flag & _IOREAD) { in fseek()
75 iop->_flag &= ~(_IOREAD | _IOWRT); in fseek()
H A Dfseeko.c63 if (!(iop->_flag & _IOREAD) && !(iop->_flag & (_IOWRT | _IORW))) { in fseeko64()
69 if (iop->_flag & _IOREAD) { in fseeko64()
82 iop->_flag &= ~(_IOREAD | _IOWRT); in fseeko64()
H A Dfopen.c104 if (!(iop->_flag & _IONBF) && (iop->_flag & (_IOWRT | _IOREAD | _IORW))) in _freopen_null()
158 iop->_flag |= _IOREAD; in _freopen_null()
168 iop->_flag = (iop->_flag & ~(_IOREAD | _IOWRT)) | _IORW; in _freopen_null()
172 iop->_flag = _IOREAD; in _freopen_null()
H A D_filbuf.c62 if (!(iop->_flag & _IOREAD)) { /* check, correct permissions */ in _filbuf()
64 iop->_flag |= _IOREAD; /* change direction */ in _filbuf()
H A D__extensions.c42 return (stream->_flag & _IOREAD); in __freading()
62 return (stream->_flag & (_IOREAD|_IORW)); in __freadable()
H A Ddata.c68 { NULL, NULL, NULL, 0, 0, _IOREAD, RECURSIVEMUTEX, DEFAULTMBSTATE },
133 { 0, NULL, NULL, _IOREAD, 0 },
H A Drewind.c61 iop->_flag &= ~(_IOREAD | _IOWRT); in _rewind_unlocked()
H A Dungetc.c64 if ((iop->_flag & _IOREAD) == 0) /* basically a no-op on write stream */ in _ungetc_unlocked()
H A D_stdio_flags.c59 fflag = _IOREAD; in _stdio_flags()
H A Dfdopen.c76 flag = _IOREAD; in fdopen()
H A Dflush.c649 } else if (iop->_flag & _IOREAD) { in _fflush_l_iops()
681 iop->_flag &= ~_IOREAD; in _fflush_u()
712 if (!(iop->_flag & _IONBF) && (iop->_flag & (_IOWRT | _IOREAD | _IORW))) in fclose()
763 (iop->_flag & (_IOWRT | _IOREAD | _IORW))) in fcloseall()
793 if (!(iop->_flag & _IONBF) && (iop->_flag & (_IOWRT | _IOREAD | _IORW))) in close_fd()
H A Dgets.c56 if (!(stdin->_flag & (_IOREAD | _IORW))) { in gets()
H A Dftell.c73 if (iop->_flag & _IOREAD) { in ftell_common()
H A Dfgets.c56 if (!(iop->_flag & (_IOREAD | _IORW))) { in fgets()
H A Dfread.c57 if (!(iop->_flag & (_IOREAD | _IORW))) { in fread()
H A Dvscanf.c122 strbuf._flag = _IOREAD | _IOWRT; in _vsscanf_c89()
/illumos-gate/usr/src/ucblib/libucb/port/stdio/
H A Dvsprintf.c56 siop._flag = _IOREAD; in vsprintf()
H A Dsprintf.c57 siop._flag = _IOREAD; in sprintf()
H A Dfopen.c95 iop->_flag = plus ? _IORW : (mode[0] == 'r') ? _IOREAD : _IOWRT; in _endopen()
/illumos-gate/usr/src/lib/libc/port/print/
H A Dvsprintf.c64 siop._flag = _IOREAD; /* distinguish dummy file descriptor */ in _vsprintf_c89()
H A Dsprintf.c51 siop._flag = _IOREAD; /* distinguish dummy file descriptor */ in sprintf()
H A Dvsnprintf.c66 siop._flag = _IOREAD; /* distinguish dummy file descriptor */ in _vsnprintf_c89()
H A Dsnprintf.c53 siop._flag = _IOREAD; /* distinguish dummy file descriptor */ in snprintf()
/illumos-gate/usr/src/ucblib/libcurses/
H A Dscanw.c77 junk._flag = _IOREAD|_IOWRT; in _sscans()
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dungetwc.c67 if ((wc == WEOF) || ((iop->_flag & _IOREAD) == 0)) { in __ungetwc_impl()

12