Ask your own question, for FREE!
Computer Science 16 Online
OpenStudy (anonymous):

what's the function of fflush in c?

OpenStudy (anonymous):

The C library function int fflush(FILE *stream) flushes the output buffer of a stream.

OpenStudy (anonymous):

What do you need to know about it? Here is a good example http://www.tutorialspoint.com/c_standard_library/c_function_fflush.htm

OpenStudy (e.mccormick):

Just never use it on an unput buffer: http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1052863818&id=1043284351

OpenStudy (e.mccormick):

Or input buffer... it is an output flush, so undefined for input.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!