Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdahl!pacbell!dplace!djl From: djl@dplace.UUCP (Dave Lampe) Newsgroups: comp.sources.bugs Subject: Re: v07i001: ularn - ultra-larn, an enhancement of the larn adventure game, Part01/08 Message-ID: <512@dplace.UUCP> Date: 13 Jul 89 02:39:17 GMT References: <4194@tekred.CNA.TEK.COM> <815@kosman.UUCP> Organization: Dave's Used Software Works, Livermore, CA Lines: 16 kevin@kosman.UUCP (Kevin O'Gorman) writes: >I could not compile this on my (SYSV) 3b1, because gcc could not find >TCIFLUSH. what's tcflush()? It's the function being called with the above >symbol, but I don't know anything else. What I changed it to was ioctl(0, TCFLSH, 0); That drains the input in stdin. I think that was what was desired, anyway it works. -- Dave Lampe {ames | lll-tis | sun | pyramid}!pacbell!dplace!djl (415) 455-1571 (H) (408) 986-9770 (W)