🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50250

Help with vargargs runtime function call

#50250
From: Tom Legrady
Date: Thu, 04 Nov 1993 20:22
19 lines
1419 bytes
We need to invoke various functions at runtime with variable numbers
of arguements. How can we do this? I suppose we could push the
parameters using assembler and then call the function passing the
argcount as the ordinary parameter.

The next best thing I can thing of is to call the function with a
fixed number of parameters, some of which might be NULL. Not a very
elegant solution, and very limited. What better solutions are there?

Anyone?

Tom Legrady
--
......................................................................
Tom Legrady                                   Tom.Legrady@Prograph.Com
Straight but not narrow                         (902) 455-4446 ext 254
......................................................................
				   
Technical Details
Message-ID: <TLEGRADY.93Nov4162352@net.Prograph.COm>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!pipex!uunet!newsflash.concordia.ca!owl.nstn.ns.ca!nstn.ns.ca!tlegrady

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,2a01b0106f0ecbdf,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-11-04 12:55:51 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!pipex!uunet!newsflash.concordia.ca!owl.nstn.ns.ca!nstn.ns.ca!tlegrady
From: tlegrady@net.Prograph.COm (Tom Legrady)
Newsgroups: gnu.gcc.help
Subject: Help with vargargs runtime function call
Date: 4 Nov 1993 16:22:40 -0400
Organization: Prograph International, Inc.
Lines: 19
Sender: news@owl.nstn.ns.ca
Distribution: world
Message-ID: <TLEGRADY.93Nov4162352@net.Prograph.COm>
NNTP-Posting-Host: owl.nstn.ns.ca