2 ** discard.c -- discard output on a file pointer
4 ** This code is Copyright (c) 2002, by the authors of nmh. See the
5 ** COPYRIGHT file in the root directory of the nmh distribution for
6 ** complete copyright information.
19 tcflush(fileno(io), TCOFLUSH);
21 #if defined(_FSTDIO) || defined(__DragonFly__)
25 io->_IO_write_ptr = io->_IO_write_base;
27 if ((io->_ptr = io->_base))