Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!shadooby!samsung!munnari.oz.au!murtoa.cs.mu.oz.au!ditmela!yarra!melba.bby.oz.au!leo!gnb From: gnb@bby.oz (Gregory N. Bond) Newsgroups: comp.std.c Subject: varargs vs. stdargs Message-ID: Date: 13 Nov 89 23:38:00 GMT Sender: news@melba.bby.oz.au Organization: Burdett, Buckeridge and Young Ltd. Lines: 13 I'm-sure-this-has-been-hashed-to-death-before-but: Is there some method of specifying varadic functions that is portable to both old (varargs) and new (stdargs) implementations? Is there an ANSI prototype for old varargs functions? Or do I have two prototyes and two implementations surrounded by #if __STDC__? (My varargs is the SunOs 3.5 one, in case there are many versions...) Greg. -- Gregory Bond, Burdett Buckeridge & Young Ltd, Melbourne, Australia Internet: gnb@melba.bby.oz.au non-MX: gnb%melba.bby.oz@uunet.uu.net Uucp: {uunet,pyramid,ubc-cs,ukc,mcvax,prlb2,nttlab...}!munnari!melba.bby.oz!gnb