. "" , .
fflush C. , stdin, undefined - , C .
fflush . , Linux:
fflush() , , .
fflush(stdin), , Linux , . ; . ( , fflush(stdin) , , , .)
flushstdin - Linux fflush(stdin). EOF ( , ). , .
, , hello ( ), fflush(stdin), .
fflush(stdin), Linux, hello , . "" stdin , , , .
flushstdin() hello, , Enter ( Ctrl-D), . EOF, , .
Again, the behavior is fflush(stdin)not defined by the C standard, so using it makes your program not portable (and your compiler will not necessarily warn you about this).
By the way, “this void material” is a function definition flushstdin. This is not necessary for fflush, because this is a standard C library function that is already defined for you.