void
p4 (int arg1, int arg2, int arg3, int arg4, int arg5,
int arg6, int arg7, int arg8, int arg9, int arg10)
{
int argc = 0;
char *argv[12];
argv [0] = "p4th" ;
argv [1] = (char *) arg1;
argv [2] = (char *) arg2;
argv [3] = (char *) arg3;
argv [4] = (char *) arg4;
argv [5] = (char *) arg5;
argv [6] = (char *) arg6;
argv [7] = (char *) arg7;
argv [8] = (char *) arg8;
argv [9] = (char *) arg9;
argv[10] = (char *) arg10;
argv[11] = NULL;
while (argv[argc]!=NULL)
{
argc++;
}
static_main (argc, argv);
} |