Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!rochester!PT.CS.CMU.EDU!IUS1.CS.CMU.EDU!edw From: edw@IUS1.CS.CMU.EDU (Eddie Wyatt) Newsgroups: comp.lang.c Subject: ungetc Message-ID: <203@PT.CS.CMU.EDU> Date: Mon, 19-Oct-87 12:57:58 EDT Article-I.D.: PT.203 Posted: Mon Oct 19 12:57:58 1987 Date-Received: Tue, 20-Oct-87 06:32:43 EDT Sender: netnews@PT.CS.CMU.EDU Organization: Carnegie-Mellon University, CS/RI Lines: 14 What type of mire might I be falling into if I do this with getc and ungetc? char c; c = getc(ifile); ungetc(c,ifile); BTW I'm not worried about c = EOF. -- Eddie Wyatt e-mail: edw@ius1.cs.cmu.edu