stdarg

Scott Amspoker scott at bbxsda.UUCP
Thu Feb 7 07:50:21 AEST 1991


In article <1991Feb6.171144.7182 at Neon.Stanford.EDU> dkeisen at Gang-of-Four.Stanford.EDU (Dave Eisen) writes:
>Probably a reasonable decision. But it does make it a pain to deal
>with the third party software we use that is full of <varargs.h> functions
>that can take 0 or more arguments.

Just curious:  How does such a function know whether it was called with
0 or 1 argument without the aid of some external flag?  Sounds like a
botched up interface to me.

-- 
Scott Amspoker                       | 
Basis International, Albuquerque, NM |     This space available
(505) 345-5232                       | 
unmvax.cs.unm.edu!bbx!bbxsda!scott   |



More information about the Comp.lang.c mailing list