_flags 103 usr/include/stdio.h short _flags; /* flags, below; this FILE is free if 0 */ _flags 288 usr/include/stdio.h #define __sfeof(p) (((p)->_flags & __SEOF) != 0) _flags 289 usr/include/stdio.h #define __sferror(p) (((p)->_flags & __SERR) != 0) _flags 290 usr/include/stdio.h #define __sclearerr(p) ((void)((p)->_flags &= ~(__SERR|__SEOF))) _flags 44 usr/lib/libc/stdio/fclose.c if (fp->_flags == 0) { /* not open! */ _flags 48 usr/lib/libc/stdio/fclose.c r = fp->_flags & __SWR ? __sflush(fp) : 0; _flags 51 usr/lib/libc/stdio/fclose.c if (fp->_flags & __SMBF) _flags 55 usr/lib/libc/stdio/fclose.c fp->_flags = 0; /* Release this FILE for reuse. */ _flags 62 usr/lib/libc/stdio/fdopen.c fp->_flags = flags; _flags 69 usr/lib/libc/stdio/fdopen.c fp->_flags |= __SAPP; _flags 45 usr/lib/libc/stdio/fflush.c if ((fp->_flags & (__SWR | __SRW)) == 0) { _flags 59 usr/lib/libc/stdio/fflush.c t = fp->_flags; _flags 78 usr/lib/libc/stdio/fflush.c fp->_flags |= __SERR; _flags 50 usr/lib/libc/stdio/findfp.c fp->_flags = flags; _flags 65 usr/lib/libc/stdio/findfp.c if (fp->_flags == 0) _flags 54 usr/lib/libc/stdio/fopen.c fp->_flags = 0; /* release */ _flags 58 usr/lib/libc/stdio/fopen.c fp->_flags = flags; _flags 46 usr/lib/libc/stdio/fpurge.c if (!fp->_flags) { _flags 55 usr/lib/libc/stdio/fpurge.c fp->_w = fp->_flags & (__SLBF|__SNBF) ? 0 : fp->_bf._size; _flags 71 usr/lib/libc/stdio/freopen.c if (fp->_flags == 0) { _flags 72 usr/lib/libc/stdio/freopen.c fp->_flags = __SEOF; /* hold on to it */ _flags 77 usr/lib/libc/stdio/freopen.c if (fp->_flags & __SWR) _flags 106 usr/lib/libc/stdio/freopen.c if (fp->_flags & __SMBF) _flags 118 usr/lib/libc/stdio/freopen.c fp->_flags = 0; /* set it free */ _flags 135 usr/lib/libc/stdio/freopen.c fp->_flags = flags; _flags 75 usr/lib/libc/stdio/fseek.c if (fp->_flags & __SRD) { _flags 79 usr/lib/libc/stdio/fseek.c } else if (fp->_flags & __SWR && fp->_p != NULL) _flags 111 usr/lib/libc/stdio/fseek.c fp->_flags &= ~__SEOF; _flags 54 usr/lib/libc/stdio/ftell.c if (fp->_flags & __SRD) { _flags 63 usr/lib/libc/stdio/ftell.c } else if (fp->_flags & __SWR && fp->_p != NULL) { _flags 76 usr/lib/libc/stdio/fvwrite.c if (fp->_flags & __SNBF) { _flags 88 usr/lib/libc/stdio/fvwrite.c } else if ((fp->_flags & __SLBF) == 0) { _flags 103 usr/lib/libc/stdio/fvwrite.c if (fp->_flags & __SSTR) { _flags 180 usr/lib/libc/stdio/fvwrite.c fp->_flags |= __SERR; _flags 46 usr/lib/libc/stdio/fwalk.c if (fp->_flags != 0) _flags 45 usr/lib/libc/stdio/getw.c if (fp->_flags & (__SERR|__SEOF)) _flags 64 usr/lib/libc/stdio/local.h ((((fp)->_flags & __SWR) == 0 || (fp)->_bf._base == NULL) && \ _flags 74 usr/lib/libc/stdio/makebuf.c if (fp->_flags & __SNBF) { _flags 81 usr/lib/libc/stdio/makebuf.c fp->_flags |= __SNBF; _flags 93 usr/lib/libc/stdio/makebuf.c fp->_flags |= flags; _flags 69 usr/lib/libc/stdio/putc.c if (++n == fp->_bf._size || (fp->_flags & __SLBF && c == '\n')) _flags 45 usr/lib/libc/stdio/putw.c if (fp->_flags & __SERR) _flags 42 usr/lib/libc/stdio/refill.c if ((fp->_flags & (__SLBF|__SWR)) == (__SLBF|__SWR)) _flags 63 usr/lib/libc/stdio/refill.c if (fp->_flags & __SEOF) _flags 67 usr/lib/libc/stdio/refill.c if ((fp->_flags & __SRD) == 0) { _flags 68 usr/lib/libc/stdio/refill.c if ((fp->_flags & __SRW) == 0) { _flags 73 usr/lib/libc/stdio/refill.c if (fp->_flags & __SWR) { _flags 76 usr/lib/libc/stdio/refill.c fp->_flags &= ~__SWR; _flags 79 usr/lib/libc/stdio/refill.c fp->_flags |= __SRD; _flags 104 usr/lib/libc/stdio/refill.c if (fp->_flags & (__SLBF|__SNBF)) _flags 110 usr/lib/libc/stdio/refill.c fp->_flags |= __SEOF; _flags 113 usr/lib/libc/stdio/refill.c fp->_flags |= __SERR; _flags 71 usr/lib/libc/stdio/setvbuf.c flags = fp->_flags; _flags 82 usr/lib/libc/stdio/setvbuf.c fp->_flags = flags; _flags 46 usr/lib/libc/stdio/snprintf.c f._flags = __SWR | __SSTR; _flags 45 usr/lib/libc/stdio/sprintf.c f._flags = __SWR | __SSTR; _flags 45 usr/lib/libc/stdio/sscanf.c f._flags = __SRD; _flags 57 usr/lib/libc/stdio/stdio.c if (fp->_flags & __SAPP) _flags 47 usr/lib/libc/stdio/ungetc.c if ((fp->_flags & __SRD) == 0) { _flags 52 usr/lib/libc/stdio/ungetc.c if ((fp->_flags & __SRW) == 0) _flags 54 usr/lib/libc/stdio/ungetc.c if (fp->_flags & __SWR) { _flags 57 usr/lib/libc/stdio/ungetc.c fp->_flags &= ~__SWR; _flags 60 usr/lib/libc/stdio/ungetc.c fp->_flags |= __SRD; _flags 74 usr/lib/libc/stdio/ungetc.c fp->_flags &= ~__SEOF; _flags 82 usr/lib/libc/stdio/vfprintf.c fake._flags = fp->_flags & ~__SNBF; _flags 93 usr/lib/libc/stdio/vfprintf.c if (fake._flags & __SERR) _flags 94 usr/lib/libc/stdio/vfprintf.c fp->_flags |= __SERR; _flags 268 usr/lib/libc/stdio/vfprintf.c if ((fp->_flags & (__SNBF|__SWR|__SRW)) == (__SNBF|__SWR) && _flags 47 usr/lib/libc/stdio/vsnprintf.c f._flags = __SWR | __SSTR; _flags 45 usr/lib/libc/stdio/vsprintf.c f._flags = __SWR | __SSTR; _flags 44 usr/lib/libc/stdio/vsscanf.c f._flags = __SRD; _flags 54 usr/lib/libc/stdio/wsetup.c if ((fp->_flags & __SWR) == 0) { _flags 55 usr/lib/libc/stdio/wsetup.c if ((fp->_flags & __SRW) == 0) _flags 57 usr/lib/libc/stdio/wsetup.c if (fp->_flags & __SRD) { _flags 61 usr/lib/libc/stdio/wsetup.c fp->_flags &= ~(__SRD|__SEOF); _flags 65 usr/lib/libc/stdio/wsetup.c fp->_flags |= __SWR; _flags 74 usr/lib/libc/stdio/wsetup.c fp->_w = fp->_flags & (__SNBF|__SLBF) ? 0 : fp->_bf._size; _flags 44 usr/lib/libsa/sprintf.c f._flags = __SWR | __SSTR;