1 /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
3 #include <crtdll/process.h>
4 #include <crtdll/stdlib.h>
7 int _execl(const char* szPath, const char* szArgv0, ...)
15 a = va_arg(l,const char *);
16 szArg[i++] = (char *)a;
17 } while ( a != NULL && i < 100 );
19 return _spawnve(P_OVERLAY, szPath, szArg, _environ);