void myfunc( ... )
{
// 1. i need to get somehow the count of variables passed into myfunc
// 2. i need to know their size ( char = 1byte, int = 4byte ... )
// 3. i need to get them somehow, lets imagine that get_param(n) is the one
// lets imagine that get_paramcount() returns what i want in 1.
// and get_paramsize(n)returns what i want in 2.
char **p;
int a, s = get_paramcount();
p = newchar * [s];
for( a = 0; a < s; a++ )
{
p[a] = newchar[get_paramsize(a)];
p[a] = (char *)get_param(n);
}
// now in p, i have all passed variables and i can do with them what
// ever i want.
}