3 * discard.c -- discard output on a file pointer
5 * This code is Copyright (c) 2002, by the authors of nmh. See the
6 * COPYRIGHT file in the root directory of the nmh distribution for
7 * complete copyright information.
18 # define _filbuf(fp) ((fp)->__cnt = 0, __filbuf(fp))
28 tcflush (fileno(io), TCOFLUSH);
30 #if defined(_FSTDIO) || defined(__DragonFly__)
34 io->_IO_write_ptr = io->_IO_write_base;
36 if ((io->_ptr = io->_base))