home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / c / 18322 < prev    next >
Encoding:
Text File  |  1992-12-14  |  641 b   |  17 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!destroyer!news.iastate.edu!class1.iastate.edu!adesai
  3. From: adesai@iastate.edu (Alpaa Desai)
  4. Subject: unbuffered getchar().
  5. Message-ID: <adesai.724348776@class1.iastate.edu>
  6. Sender: news@news.iastate.edu (USENET News System)
  7. Organization: Iowa State University, Ames IA
  8. Date: Mon, 14 Dec 1992 15:59:36 GMT
  9. Lines: 6
  10.  
  11. A while ago some one had asked if there was a way to get unbuffered getchar().
  12. I saw a couple of solutions for it which were I thought a bit complicated.
  13. Anyway, I found a simple one in Kernighan and Ritchie (second edition) page171.
  14. They have given the entire function getchar().
  15.  
  16.  
  17.