]>
diplodocus.org Git - nmh/blob - sbr/discard.c
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.
21 tcflush (fileno(io
), TCOFLUSH
);
23 #if defined(_FSTDIO) || defined(__DragonFly__)
27 io
->_IO_write_ptr
= io
->_IO_write_base
;
29 if ((io
->_ptr
= io
->_base
))