funflush(3S) SDK R4.11 funflush(3S)
NAME
funflush - discard buffered data
SYNOPSIS
#include <stdio.h>
void funflush(FILE *stream);
DESCRIPTION
funflush causes any buffered data to be discarded. Unlike fflush
[see fclose(3S)], funflush does not write any pending data for output
streams and does not attempt to synchronize the underlying file
offset. It is principally intended for streams connected to
terminals as part of interrupt processing. If stream is a null
pointer, funflush acts on all open stdio streams. stream remains
open.
REFERENCES
fclose(3S), fopen(3S), setbuf(3S), stdio(3S)
Licensed material--property of copyright holder(s)