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