5 /* This and the other exec*.c files in this directory require
6 the target to provide the _execve syscall. */
15 execle (const char *path
,
16 const char *arg0
, ...)
22 const char * const *envp
;
23 const char *argv
[256];
25 va_start (args
, arg0
);
29 argv
[i
] = va_arg (args
, const char *);
30 while (argv
[i
++] != NULL
);
31 envp
= va_arg (args
, const char * const *);
34 return _execve (path
, (char * const *) argv
, (char * const *) envp
);
37 #endif /* !_NO_EXECVE */