Home
last modified time | relevance | path

Searched refs:_IOEOF (Results 1 – 25 of 28) sorted by relevance

12

/titanic_41/usr/src/head/iso/
H A Dstdio_iso.h140 #define _IOEOF 0020 /* EOF reached on read */ macro
307 inline void clearerr(FILE *_p) { _p->_flag &= ~(_IOERR | _IOEOF); } in clearerr()
308 inline int feof(FILE *_p) { return _p->_flag & _IOEOF; } in feof()
312 #define clearerr(p) ((void)((p)->_flag &= ~(_IOERR | _IOEOF)))
313 #define feof(p) ((p)->_flag & _IOEOF)
/titanic_41/usr/src/lib/libbc/inc/include/
H A Dstdio.h48 #define _IOEOF 020 macro
77 #define feof(p) (((p)->_flag&_IOEOF)!=0)
79 #define clearerr(p) (void) ((p)->_flag &= ~(_IOERR|_IOEOF))
/titanic_41/usr/src/lib/libbc/libc/stdio/4.2/
H A Dflsbuf.c130 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()
207 iop->_flag = iop->_flag & ~_IOEOF | _IOWRT; /* fix flags */ in _wrtchk()
H A Dfilbuf.c56 if (iop->_flag&(_IOSTRG|_IOEOF)) in _filbuf()
77 iop->_flag |= _IOEOF; in _filbuf()
/titanic_41/usr/src/lib/libc/port/stdio/
H A Dgetw.c59 while (--i >= 0 && !(stream->_flag & (_IOERR | _IOEOF))) in getw()
61 ret = ((stream->_flag & (_IOERR | _IOEOF)) ? EOF : w); in getw()
H A D_wrtchk.c45 if ((iop->_flag & (_IOWRT | _IOEOF)) != _IOWRT) { in _wrtchk()
51 iop->_flag = (iop->_flag & ~_IOEOF) | _IOWRT; in _wrtchk()
H A D_filbuf.c99 if ((flag = iop->_flag) & _IOEOF) { in _filbuf()
127 iop->_flag |= _IOEOF; in _filbuf()
H A Dfeof.c46 return (iop->_flag & _IOEOF); in feof()
H A Dclearerr.c49 iop->_flag &= ~(_IOERR | _IOEOF); in clearerr()
H A Drewind.c61 iop->_flag &= ~(_IOERR | _IOEOF); in _rewind_unlocked()
H A Dungetc.c71 iop->_flag &= ~_IOEOF; in _ungetc_unlocked()
H A D_flsbuf.c53 _IOWRT | _IOEOF)) in _flsbuf()
H A Dfseek.c56 iop->_flag &= ~_IOEOF; in fseek()
H A Dfseeko.c63 iop->_flag &= ~_IOEOF; in fseeko64()
/titanic_41/usr/src/lib/libbc/libc/stdio/sys5/
H A Dflsbuf.c133 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()
212 iop->_flag = iop->_flag & ~_IOEOF | _IOWRT; /* fix flags */ in _wrtchk()
H A Dfilbuf.c75 iop->_flag |= _IOEOF; in _filbuf()
/titanic_41/usr/src/lib/libbc/inc/5include/
H A Dstdio.h89 #define _IOEOF 0020 macro
169 #define clearerr(p) ((void) ((p)->_flag &= ~(_IOERR | _IOEOF)))
170 #define feof(p) (((p)->_flag & _IOEOF) != 0)
/titanic_41/usr/src/ucbhead/
H A Dstdio.h97 #define _IOEOF 0020 /* EOF reached on read */ macro
241 #define clearerr(p) ((void) ((p)->_flag &= ~(_IOERR | _IOEOF)))
242 #define feof(p) ((p)->_flag & _IOEOF)
/titanic_41/usr/src/lib/libbc/libc/stdio/common/
H A Dclrerr.c35 iop->_flag &= ~(_IOERR | _IOEOF);
H A Dfeof.c29 #define __feof__(p) (((p)->_flag&_IOEOF)!=0)
H A Drew.c41 iop->_flag &= ~(_IOERR | _IOEOF);
H A Dstdiom.h36 #define _WRTCHK(iop) ((((iop->_flag & (_IOWRT | _IOEOF)) != _IOWRT) \
H A Dfseek.c50 iop->_flag &= ~_IOEOF;
/titanic_41/usr/src/lib/libc/port/locale/
H A Dungetwc.c96 iop->_flag &= ~_IOEOF; in __ungetwc_impl()
/titanic_41/usr/src/ucblib/libucb/inc/
H A Dstdiom.h117 #define _WRTCHK(iop) ((((iop->_flag & (_IOWRT | _IOEOF)) != _IOWRT) || \

12