Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/3/84 (WLS Mods); site astrovax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!astrovax!rhl From: rhl@astrovax.UUCP (Robert the Good) Newsgroups: net.lang.c,net.wanted.sources Subject: Wanted: a version of scanf that allows me to define getc() and ungetc() Message-ID: <493@astrovax.UUCP> Date: Fri, 16-Nov-84 17:31:11 EST Article-I.D.: astrovax.493 Posted: Fri Nov 16 17:31:11 1984 Date-Received: Sat, 17-Nov-84 05:11:53 EST Distribution: net Organization: Princeton Univ. Astrophysics Lines: 7 Xref: princeton net.lang.c:965 net.wanted.sources:111 I have a programme that needs to read either standard input or a character buffer, running on 4.2bsd. The way that this is currently implemented is to have a private version of scanf, that uses my routines input() and unput() instead of the macros getc() and ungetc(). I am shortly moving to a VMS system, without a source license. Any ideas on good ways to port my code? Robert