Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- libc - <b>fflush</b> http://www.ousob.com [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
fflush
======

Syntax
------

     #include <stdio.h>
     
     int fflush(FILE *file);

Description
-----------

This function causes any unwritten buffered data to be written out to
the given FILE.  This is useful in cases where the output is line
buffered and you want to write a partial line.

Return Value
------------

Zero on success, -1 on error.

Example
-------

     printf("Enter value : ");
     fflush(stdout);
     scanf(result);


Online resources provided by: http://www.ousob.com --- NG 2 HTML conversion by Dave Pearson