#include <stdio.h> |
int main ( void ) |
{ |
FILE *stream; |
/* create a file */ |
stream = fopen ( "DUMMY.FIL" , "w" ); |
/* flush all open streams */ |
printf ( "%d streams were flushed.\n" , |
flushall() ); |
/* close the file */ |
fclose ( stream ); |
return 0; |
} |