Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!solace!nntp.uio.no!news.cais.net!news.mathworks.com!newsfeed.internetmci.com!news.msfc.nasa.gov!128.158.53.181!not-for-mail From: joe.gaines@msfc.nasa.gov (Joe Gaines) Newsgroups: comp.unix.bsd.bsdi.misc Subject: Q: Terminal I/O Date: 6 Jun 1996 19:22:37 GMT Organization: NASA-MSFC/EB62 Lines: 5 Message-ID: <4p7b5t$f9u@hammer.msfc.nasa.gov> NNTP-Posting-Host: 128.158.53.181 X-Newsreader: WinVN 0.92.5 I wanted to know if there was a function in the C-Programmer that lets you poll the keyboard. In Microsoft C there is a function call kbhit() that lets you check the keyboard for an input. Then you can use getchar() to retrieve the character. If not is there a way to do this without using this particular function. Your help is appreciated.