8 int i, argc = 0, res = 0;
9 ssize_t len_program, len_arguments;
20 if( application==program->
data )
25 application[len_program] = 0;
32 arguments = alloca( len_arguments + 1 );
34 arguments[len_arguments] = 0;
51 argv = alloca(
sizeof(
char*) * (argc + 1 ));
58 for( i=1 ; i<argc; i++)
71 res = spawnv( P_WAIT, (
const char*)application, (
char *
const *)argv );
73 res = execv( (
const char*)application, (
char *
const *)argv );