Could anybody tell me how to clear the input buffer in C (what is the command for it)?

I would look it up my self but I don't have any book on C and when I tried googleing I couldn't find the answer.

Thanks in advance,
Valheru.