| www.delorie.com/djgpp/doc/libc-2.01/libc_262.html | search |
#include <stdio.h> int fflush(FILE *file);
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.
Zero on success, -1 on error.
printf("Enter value : ");
fflush(stdout);
scanf(result);
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |