2 #include <msvcrt/stdlib.h>
3 #include <msvcrt/string.h>
6 #include <msvcrt/msvcrtdbg.h>
12 void _searchenv(const char *file,const char *var,char *path )
14 char *env = getenv(var);
19 DPRINT("_searchenv()\n");
29 if ( SearchPathA(x,file,NULL,MAX_PATH,path,&FilePart) > 0 ) {