From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,44c9e0bc8469bac9,start X-Google-Attributes: gid11318c,public X-Google-Thread: 1014db,44c9e0bc8469bac9,start X-Google-Attributes: gid1014db,public X-Google-Thread: fee84,44c9e0bc8469bac9,start X-Google-Attributes: gidfee84,public From: steveo@world.std.com (Steven W Orr) Subject: Need the opposite of stdarg Date: 1995/04/24 Message-ID: #1/1 X-Deja-AN: 101475937 organization: SysLang, Inc. newsgroups: comp.lang.c,gnu.gcc.help,comp.unix.osf.osf1 I have a problem that I don't know how to write in C. I have a main program receiving an argv. The argv needs to be massaged and then passed to a subroutine (FOO) which is not written in C. (That's why we need the massage). I want to call FOO in such a way that it receives all of the massaged args. If I make my call with a maximum number of args, then I'll always be sending too much, and I will always have a limit. If I write a switch statement, then my code will be potentially huge and I'll still have a limit. If it makes any difference, I'm running OSF (DIGITAL Unix) on an AXP (Alpha). Please respond by email. Thanks in advance. -- ----------Time flies like the wind. Fruit flies like a banana.---------------- --------Stranger things have happened but none stranger than this.------------- Steven W. Orr steveo@uniprise.com ---------------"Listen to me! We are all individuals."-------------------------