_IO_NO_WRITES
xsetflags(read_write, _IO_NO_READS+_IO_NO_WRITES+_IO_IS_APPENDING);
posix_mode = O_RDONLY, read_write = _IO_NO_WRITES;
posix_mode = 0, read_write = _IO_NO_READS+_IO_NO_WRITES;
if (!(xflags() & _IO_NO_WRITES))
DEF_STDIOFILE(_IO_stdin_buf, 0, stdin, _IO_NO_WRITES, &_IO_stderr_.file);
DEF_STDFILE(_IO_stdin_, 0, 0, _IO_NO_WRITES);
int ios::writable() { return !(rdbuf()->_flags & _IO_NO_WRITES); }
&& (rdbuf()->_flags & _IO_NO_READS+_IO_NO_WRITES)
!= _IO_NO_READS+_IO_NO_WRITES; }
return ((fp->_flags & _IO_NO_WRITES)
return (fp->_flags & _IO_NO_WRITES) == 0;
(_IO_IS_FILEBUF+_IO_NO_READS+_IO_NO_WRITES+_IO_TIED_PUT_GET)
if ((fp->_flags & _IO_NO_WRITES) == 0
_IO_mask_flags (fp, read_write,_IO_NO_READS+_IO_NO_WRITES+_IO_IS_APPENDING);
read_write = _IO_NO_WRITES;
fp->_flags &= ~(_IO_NO_READS+_IO_NO_WRITES);
if ((_IO_stdout->_flags & (_IO_LINKED | _IO_NO_WRITES | _IO_LINE_BUF))
if (f->_flags & _IO_NO_WRITES) /* SET ERROR */
if ((fp->_flags & _IO_NO_WRITES) == 0 && fp->_flags & _IO_LINE_BUF)
&& (! (fp->_flags & _IO_NO_WRITES)
if (((fd_flags & O_ACCMODE) == O_RDONLY && !(read_write & _IO_NO_WRITES))
(use_mmap && (read_write & _IO_NO_WRITES))
(use_mmap && (read_write & _IO_NO_WRITES)) ? &_IO_file_jumps_maybe_mmap :
_IO_NO_READS+_IO_NO_WRITES+_IO_IS_APPENDING);
read_write = _IO_NO_WRITES;
if ((fp->_flags2 & _IO_FLAGS2_MMAP) && (fp->_flags & _IO_NO_WRITES))
_IO_NO_READS+_IO_NO_WRITES+_IO_IS_APPENDING);
read_write = _IO_NO_WRITES;
read_or_write = _IO_NO_WRITES;
_IO_mask_flags (fp, read_or_write, _IO_NO_READS|_IO_NO_WRITES);
_IO_NO_READS+_IO_NO_WRITES+_IO_IS_APPENDING);
DEF_STDFILE(_IO_2_1_stdin_, 0, 0, _IO_NO_WRITES);
if (fp->_IO_file_flags & _IO_NO_WRITES)
if ((fp->_flags & _IO_NO_WRITES) && c != EOF)
sf->_sbf._f._IO_file_flags |= _IO_NO_WRITES;
if (fp->_flags & _IO_NO_WRITES)
if ((_IO_stdout->_flags & (_IO_LINKED | _IO_NO_WRITES | _IO_LINE_BUF))
if (f->_flags & _IO_NO_WRITES) /* SET ERROR */
if (fp->_IO_file_flags & _IO_NO_WRITES)
if ((fp->_flags & _IO_NO_WRITES) && c != WEOF)
if (fp->_flags & _IO_NO_WRITES)
if (S->_flags & _IO_NO_WRITES) \