Home
last modified time | relevance | path

Searched refs:_IOWRT (Results 1 – 25 of 61) sorted by relevance

123

/titanic_41/usr/src/lib/libbc/libc/stdio/common/
H A Diob.c35 { NULL, 0, NULL, 0, _IOWRT, 1 }, /* stdout */
36 { NULL, 0, NULL, 0, _IOWRT|_IONBF, 2 }, /* stderr */
40 { NULL, 0, NULL, 0, _IOWRT, 1 }, /* stdout */
41 { NULL, 0, NULL, 0, _IOWRT|_IONBF, 2 }, /* stderr */
44 { 0, NULL, NULL, 0, _IOWRT, 1 }, /* stdout */
45 { 0, NULL, NULL, 0, _IOWRT|_IONBF, 2 }, /* stderr */
H A Dstdiom.h36 #define _WRTCHK(iop) ((((iop->_flag & (_IOWRT | _IOEOF)) != _IOWRT) \
H A Dftell.c52 else if(iop->_flag & (_IOWRT | _IORW)) {
54 if(iop->_flag & _IOWRT && iop->_base &&
/titanic_41/usr/src/lib/libbc/libc/stdio/4.2/
H A Dflsbuf.c75 if(iop->_flag & (_IOREAD | _IOWRT | _IORW) in fclose()
102 if (!(iop->_flag & _IOWRT)) { in fflush()
105 while(!(iop->_flag & _IONBF) && (iop->_flag & _IOWRT) && in fflush()
130 if ( (iop->_flag & (_IOLBF | _IOWRT | _IOEOF)) == (_IOLBF | _IOWRT) ) { in _flsbuf()
138 if ( (iop->_flag & (_IONBF | _IOWRT | _IOEOF)) == (_IONBF | _IOWRT) ) { in _flsbuf()
204 if ( (iop->_flag & (_IOWRT | _IOEOF)) != _IOWRT ) { in _wrtchk()
205 if (!(iop->_flag & (_IOWRT | _IORW))) in _wrtchk()
207 iop->_flag = iop->_flag & ~_IOEOF | _IOWRT; /* fix flags */ in _wrtchk()
H A Dvprintf.c41 if (!(stdout->_flag & _IOWRT)) { in vprintf()
45 stdout->_flag |= _IOWRT; in vprintf()
H A Dprintf.c45 if (!(stdout->_flag & _IOWRT)) { in printf()
49 stdout->_flag |= _IOWRT; in printf()
/titanic_41/usr/src/lib/libbc/libc/stdio/sys5/
H A Dflsbuf.c73 if(iop->_flag & (_IOREAD | _IOWRT | _IORW) in fclose()
100 if (!(iop->_flag & _IOWRT)) { in fflush()
107 while(!(iop->_flag & _IONBF) && (iop->_flag & _IOWRT) && in fflush()
133 if ( (iop->_flag & (_IOLBF | _IOWRT | _IOEOF)) == (_IOLBF | _IOWRT) ) { in _flsbuf()
141 if ( (iop->_flag & (_IONBF | _IOWRT | _IOEOF)) == (_IONBF | _IOWRT) ) { in _flsbuf()
209 if ( (iop->_flag & (_IOWRT | _IOEOF)) != _IOWRT ) { in _wrtchk()
210 if (!(iop->_flag & (_IOWRT | _IORW))) in _wrtchk()
212 iop->_flag = iop->_flag & ~_IOEOF | _IOWRT; /* fix flags */ in _wrtchk()
H A Dvprintf.c48 if (!(stdout->_flag & _IOWRT)) { in vprintf()
52 stdout->_flag |= _IOWRT; in vprintf()
H A Dprintf.c44 if (!(stdout->_flag & _IOWRT)) { in printf()
48 stdout->_flag |= _IOWRT; in printf()
/titanic_41/usr/src/lib/libc/port/stdio/
H A D_wrtchk.c45 if ((iop->_flag & (_IOWRT | _IOEOF)) != _IOWRT) { in _wrtchk()
46 if (!(iop->_flag & (_IOWRT | _IORW))) { in _wrtchk()
51 iop->_flag = (iop->_flag & ~_IOEOF) | _IOWRT; in _wrtchk()
H A D_flsbuf.c53 _IOWRT | _IOEOF)) in _flsbuf()
55 case _IOFBF | _IOWRT: /* okay to do full-buffered case */ in _flsbuf()
59 case _IOLBF | _IOWRT: /* okay to do line-buffered case */ in _flsbuf()
71 case _IONBF | _IOWRT: /* okay to do no-buffered case */ in _flsbuf()
H A Dfopen.c91 if (!(iop->_flag & _IONBF) && (iop->_flag & (_IOWRT | _IOREAD | _IORW))) in _freopen_null()
148 iop->_flag |= _IOWRT; in _freopen_null()
151 iop->_flag |= _IOWRT; in _freopen_null()
155 iop->_flag = (iop->_flag & ~(_IOREAD | _IOWRT)) | _IORW; in _freopen_null()
162 iop->_flag = _IOWRT; in _freopen_null()
165 iop->_flag = _IOWRT; in _freopen_null()
H A Dftell.c64 else if (iop->_flag & (_IOWRT | _IORW)) { in ftell()
66 if (((iop->_flag & (_IOWRT | _IONBF)) == _IOWRT) && in ftell()
H A Dfseek.c58 if (!(iop->_flag & _IOREAD) && !(iop->_flag & (_IOWRT | _IORW))) { in fseek()
68 } else if (iop->_flag & (_IOWRT | _IORW)) { in fseek()
77 iop->_flag &= ~(_IOREAD | _IOWRT); in fseek()
H A Dftello.c72 else if (iop->_flag & (_IOWRT | _IORW)) { in ftello64()
74 if (((iop->_flag & (_IOWRT | _IONBF)) == _IOWRT) && in ftello64()
H A Dfseeko.c65 if (!(iop->_flag & _IOREAD) && !(iop->_flag & (_IOWRT | _IORW))) { in fseeko64()
75 } else if (iop->_flag & (_IOWRT | _IORW)) { in fseeko64()
84 iop->_flag &= ~(_IOREAD | _IOWRT); in fseeko64()
H A Ddata.c69 { NULL, NULL, NULL, 0, 1, _IOWRT, RECURSIVEMUTEX, DEFAULTMBSTATE },
70 { NULL, NULL, NULL, 0, 2, _IOWRT|_IONBF, RECURSIVEMUTEX,
134 { 0, NULL, NULL, _IOWRT, 1 },
135 { 0, NULL, NULL, _IOWRT|_IONBF, 2 },
H A Dflush.c198 if ((fp->_flag & (_IOLBF | _IOWRT | _IONBF)) == in _flushlbf()
199 (_IOLBF | _IOWRT)) { in _flushlbf()
205 if ((fp->_flag & (_IOLBF | _IOWRT)) == in _flushlbf()
206 (_IOLBF | _IOWRT)) { in _flushlbf()
635 if (iop->_flag & _IOWRT) { in _fflush_l_iops()
664 if (!(iop->_flag & _IOWRT)) { in _fflush_u()
678 iop->_flag &= ~_IOWRT; in _fflush_u()
701 if (!(iop->_flag & _IONBF) && (iop->_flag & (_IOWRT | _IOREAD | _IORW))) in fclose()
752 (iop->_flag & (_IOWRT | _IOREAD | _IORW))) in fcloseall()
782 if (!(iop->_flag & _IONBF) && (iop->_flag & (_IOWRT | _IOREAD | _IORW))) in close_fd()
/titanic_41/usr/src/lib/libc/port/fp/
H A Dfile_decim.c43 #define mygetc(iop) ((iop->_flag & _IOWRT) ? \
47 #define myungetc(x, iop) ((iop->_flag & _IOWRT) ? *(--iop->_ptr) : \
64 current = ((pf->_flag & _IOWRT) ? \ in file_to_decimal()
/titanic_41/usr/src/lib/libc/port/print/
H A Dvwprintf.c72 if (!(stdout->_flag & _IOWRT)) { in _vwprintf_c89()
76 stdout->_flag |= _IOWRT; in _vwprintf_c89()
119 if (!(iop->_flag & _IOWRT)) { in _vfwprintf_c89()
123 iop->_flag |= _IOWRT; in _vfwprintf_c89()
H A Dwprintf.c72 if (!(stdout->_flag & _IOWRT)) { in wprintf()
76 stdout->_flag |= _IOWRT; in wprintf()
115 if (!(iop->_flag & _IOWRT)) { in fwprintf()
119 iop->_flag |= _IOWRT; in fwprintf()
/titanic_41/usr/src/ucblib/libucb/port/stdio/
H A Dvprintf.c53 if (!(stdout->_flag & _IOWRT)) { in vprintf()
57 stdout->_flag |= _IOWRT; in vprintf()
H A Dvfprintf.c55 if (!(iop->_flag & _IOWRT)) { in vfprintf()
59 iop->_flag |= _IOWRT; in vfprintf()
H A Dprintf.c48 if (!(stdout->_flag & _IOWRT)) { in printf()
52 stdout->_flag |= _IOWRT; in printf()
H A Dfprintf.c58 if (!(iop->_flag & _IOWRT)) { in fprintf()
62 iop->_flag |= _IOWRT; in fprintf()

123