Xref: utzoo comp.unix.wizards:16577 comp.lang.c:19093 Path: utzoo!attcan!uunet!cs.utexas.edu!sun-barr!apple!voder!pyramid!ctnews!mitisft!kemnitz From: kemnitz@mitisft.Convergent.COM (Gregory Kemnitz) Newsgroups: comp.unix.wizards,comp.lang.c Subject: Needed: A (Portable) way of setting up the arg stack Keywords: 1/varargs Message-ID: <708@mitisft.Convergent.COM> Date: 1 Jun 89 22:37:43 GMT Organization: Convergent Technologies, San Jose, CA Lines: 14 I need to know how (or if) *NIX (System V.3) has the ability to let a stack of arguments be set for a function before it is called. I have several hundred pointers to functions which are called from one place, and each function has different numbers of arguments. (I suppose I could use the maximum number of arguments that any function has, but is this portable??) I know how many arguments there are when I call the function, and what those arguments are. Is there any alternative (like varargs) to a big switch block or calling with the max number of arguments?? -- ----------------------------------+-------------------------------------- Greg Kemnitz | "He who does not understand baseball kemnitz@Convergent.COM | will never understand America" | --Tocqueville