Article View: comp.std.c
Article #899varargs vs. stdargs
From: Gregory N. Bond
Date: Mon, 13 Nov 1989 23:38
Date: Mon, 13 Nov 1989 23:38
13 lines
1023 bytes
1023 bytes
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
Technical Details
Message-ID:
<GNB.89Nov14103800@baby.bby.oz>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!shadooby!samsung!munnari.oz.au!murtoa.cs.mu.oz.au!ditmela!yarra!melba.bby.oz.au!leo!gnbShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <GNB.89Nov14103800@baby.bby.oz> Date: 13 Nov 89 23:38:00 GMT Sender: news@melba.bby.oz.au Organization: Burdett, Buckeridge and Young Ltd. Lines: 13