Article View: dnet.test
Article #67Removing arguments from va_alist
From: Robert Wachter LD Tel. 2102 dlds...
Date: Mon, 02 Sep 1991 10:44
Date: Mon, 02 Sep 1991 10:44
29 lines
1043 bytes
1043 bytes
I have a problem with the varargs. I'm working on a SPARC with the
standard cc, and want to remove the first argument from a va_alist.
Example:
--------
f(va_alist)
va_dcl
{
va_list ap;
/* now I want to call another function with all
arguments of f, but not with the first one */
}
main()
{
f("argument_to_delete", "arg2", "arg3", "arg4");
}
Does anybody know a solution for this problem?
Please send me the answer per email to:
pla_rwa@pki-nbg.philips.de
Thanks in advance, Robert Wachter
Technical Details
Message-ID:
<252@scax04.pki-nbg.philips.de>Path:
arc1-ca.pugleaf.net!gmdzi!unido!pki-nbg!pla_rwa@pkinbg.UUCPReferences:
<35499@usc.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1267e7,e5cb37724e2497c,start X-Google-Attributes: gid1267e7,public X-Google-ArrivalTime: 1991-09-02 03:48:57 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!pki-nbg!pla_rwa@pkinbg.UUCP From: pla_rwa@pkinbg.UUCP (Robert Wachter LD Tel. 2102 dlds1) Newsgroups: dnet.test Subject: Removing arguments from va_alist Message-ID: <252@scax04.pki-nbg.philips.de> Date: 2 Sep 91 10:44:02 GMT References: <35499@usc.edu> Sender: news@pki-nbg.philips.de Lines: 29