16 #define find_execT find_execW 17 #define argvtosT argvtosW 18 #define do_spawnT do_spawnW 19 #define valisttosT valisttosW 21 #define access_dirT access_dirW 24 #define find_execT find_execA 25 #define argvtosT argvtosA 26 #define do_spawnT do_spawnA 27 #define valisttosT valisttosA 29 #define access_dirT access_dirA 49 unsigned int i, found = 0;
62 for (
rd =
path, rp = rpath; *
rd; *rp++ = *
rd++)
70 TRACE(
"trying '%"sT"'\n", rpath);
89 for (; *ep && (*ep !=
';'); *rp++ = *ep++)
94 if (*rp !=
'/' && *rp !=
'\\')
106 TRACE(
"trying '%"sT"'\n", rpath);
118 return found ? rpath :
path;
228 memset (&StartupInfo, 0,
sizeof(StartupInfo));
229 StartupInfo.
cb =
sizeof(StartupInfo);
233 for (
last =
i = 0;
i < FDINFO_FD_MAX;
i++)
256 int _mode = __fileno_getmode(
i);
307 &ProcessInformation);
317 ERR(
"%x\n", dwError);
334 return( (
int)dwExitCode);
errno_t __cdecl _set_errno(_In_ int _Value)
#define CREATE_UNICODE_ENVIRONMENT
GLsizei const GLchar ** path
intptr_t _tspawnvpe(int mode, const _TCHAR *cmdname, const _TCHAR *const *argv, const _TCHAR *const *envp)
BOOL WINAPI GetExitCodeProcess(IN HANDLE hProcess, IN LPDWORD lpExitCode)
intptr_t _tspawnlp(int mode, const _TCHAR *cmdname, const _TCHAR *arg0,...)
#define INVALID_HANDLE_VALUE
_TCHAR * _tcscpy(_TCHAR *to, const _TCHAR *from)
DWORD WINAPI GetLastError(VOID)
GLfloat GLfloat GLfloat GLfloat h
DWORD WINAPI WaitForSingleObject(IN HANDLE hHandle, IN DWORD dwMilliseconds)
_CRTIMP intptr_t __cdecl _get_osfhandle(_In_ int _FileHandle)
intptr_t _tspawnv(int mode, const _TCHAR *cmdname, const _TCHAR *const *argv)
size_t __cdecl _tcslen(const _TCHAR *str)
intptr_t _texecvpe(const _TCHAR *cmdname, const _TCHAR *const *argv, const _TCHAR *const *envp)
intptr_t _texecvp(const _TCHAR *cmdname, const _TCHAR *const *argv)
intptr_t _tspawnvp(int mode, const _TCHAR *cmdname, const _TCHAR *const *argv)
#define HANDLE_FLAG_INHERIT
intptr_t _texeclp(const _TCHAR *cmdname, const _TCHAR *arg0,...)
static JOBOBJECTINFOCLASS LPVOID DWORD len
static void create_io_inherit_block(STARTUPINFOA *startup, unsigned int count, const HANDLE *handles)
static HANDLE(WINAPI *pCreateJobObjectW)(LPSECURITY_ATTRIBUTES sa
intptr_t _texecv(const _TCHAR *cmdname, const _TCHAR *const *argv)
intptr_t _tspawnve(int mode, const _TCHAR *cmdname, const _TCHAR *const *argv, const _TCHAR *const *envp)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
#define memcpy(s1, s2, n)
intptr_t _tspawnl(int mode, const _TCHAR *cmdname, const _TCHAR *arg0,...)
void _dosmaperr(unsigned long oserrcode)
intptr_t _texecl(const _TCHAR *cmdname, const _TCHAR *arg0,...)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
intptr_t _texeclpe(const _TCHAR *cmdname, const _TCHAR *arg0,...)
static LPCWSTR LPCWSTR LPCWSTR env
intptr_t _texecve(const _TCHAR *cmdname, const _TCHAR *const *argv, const _TCHAR *const *envp)
BOOL WINAPI GetHandleInformation(IN HANDLE hObject, OUT LPDWORD lpdwFlags)
intptr_t _tspawnlpe(int mode, const _TCHAR *cmdname, const _TCHAR *arg0,...)
intptr_t _texecle(const _TCHAR *cmdname, const _TCHAR *arg0,...)
intptr_t _tspawnle(int mode, const _TCHAR *cmdname, const _TCHAR *arg0,...)