From: Simon Newsgroups: comp.os.msdos.djgpp Subject: Re: Flusing keyboard buffer Date: Sun, 17 Jan 1999 15:44:38 +0000 Organization: Customer of Planet Online Lines: 16 Message-ID: <36A20566.3251@magicsoftware.freeserve.co.uk> References: NNTP-Posting-Host: modem-125.tumpette.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news7.svr.pol.co.uk 916587995 17433 62.136.116.253 (17 Jan 1999 15:46:35 GMT) NNTP-Posting-Date: 17 Jan 1999 15:46:35 GMT X-Complaints-To: abuse AT theplanet DOT net X-Mailer: Mozilla 3.04Gold (Win95; I) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > > On Sat, 16 Jan 1999, Simon wrote: > > > Can anyone tell me a function that will remove all unfetched > > key strokes from the keyboard buffer ! > > Here's one possible way: > > while (kbhit ()) > getkey (); Sorry It does do what I want, I just though there may have been a specific function to do it Thanks for your help! Simon