int U7exists
bool U7exists
int U7exists	(	const char *fname		  // May be converted to upper-case.	){	string name = get_system_path(fname);#ifdef UNDER_CE	// This is a bit of a hack for WinCE	const char *n = name.c_str();	int nLen = std::strlen(n)+1;	LPTSTR lpszT = (LPTSTR) alloca(nLen*2);	MultiByteToWideChar(CP_ACP, 0, n, -1, lpszT, nLen);	return GetFileAttributes(lpszT) != 0xFFFFFFFF;#else	bool	exists;	struct stat sbuf;	int uppercasecount = 0;	do {		exists = (stat(name, &sbuf) == 0);		if (exists)			return true; // found it!	} while (base_to_uppercase(name, ++uppercasecount));	// file not found	return false;#endif}