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.mel.connect.com.au!news.mira.net.au!inquo!bofh.dot!in-news.erinet.com!imci5!pull-feed.internetmci.com!news.internetMCI.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.misc Subject: Q: Unix Terminal I/O Date: 6 Jun 1996 19:52:58 GMT Organization: NASA-MSFC/EB62 Lines: 6 Message-ID: <4p7cuq$gmb@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.