DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

funflush(3S)


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 handling 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), Intro(3S)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004