Article View: comp.std.c
Article #884Re: Blind spot in varargs macros
From: Barry Margolin
Date: Thu, 09 Nov 1989 23:26
Date: Thu, 09 Nov 1989 23:26
13 lines
1149 bytes
1149 bytes
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
Technical Details
Message-ID:
<31608@news.Think.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!usc!snorkelwacker!think!leander.think.com!barmarReferences:
<TOM.89Nov2071422@hcx2.ssd.harris.com> <11556@smoke.BRL.MIL> <1781@ruuinf.cs.ruu.nl>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <TOM.89Nov2071422@hcx2.ssd.harris.com> <11556@smoke.BRL.MIL> <1781@ruuinf.cs.ruu.nl> Sender: news@Think.COM Organization: Thinking Machines Corporation, Cambridge MA Lines: 13