Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!INTELLICORP.COM!TRANLE From: TRANLE@INTELLICORP.COM (Minh Tran-Le) Newsgroups: gnu.gcc.bug Subject: does anybody has a well behave 'ungetc' ? Message-ID: <9003011741.AA24775@life.ai.mit.edu> Date: 1 Mar 90 17:41:12 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 11 Does anybody has a version of 'ungetc' that does not try to put back the character if the character is already in the buffer but just decrement the read pointer. I am trying to get around scanf so that I don't have to put -fwritable-string with gcc. Thanks, Tran-Le arpanet: tranle@intellicorp.com uucp: ..sun!icmv!mtranle -------