Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!usc!snorkelwacker!think!leander.think.com!barmar From: barmar@leander.think.com (Barry Margolin) Newsgroups: comp.std.c Subject: Re: Blind spot in varargs macros Message-ID: <31608@news.Think.COM> Date: 9 Nov 89 23:26:52 GMT References: <11556@smoke.BRL.MIL> <1781@ruuinf.cs.ruu.nl> Sender: news@Think.COM Organization: Thinking Machines Corporation, Cambridge MA Lines: 13 In article <1781@ruuinf.cs.ruu.nl> piet@cs.ruu.nl (Piet van Oostrum) writes: >OK, that means it is impossible to call printf() or scanf() from an >interpreter, other than doing at least part of the printf work yourself (at >least interpreting the '%' formats. You couldn't do this before the ANSI C effort, so why should you expect to be able to do it now? There was very little existing practice in this area on which to base a standard mechanism, in contrast to the common varargs practice that formed the basis for stdarg. Barry Margolin, Thinking Machines Corp. barmar@think.com {uunet,harvard}!think!barmar