exists = (stat(name.c_str(), &sbuf) == 0);
exists = (stat(name, &sbuf) == 0);
int U7exists	(	const char *fname		  // May be converted to upper-case.	){	bool	exists;	struct stat sbuf;		string name = get_system_path(fname);		int uppercasecount = 0;	do {		exists = (stat(name.c_str(), &sbuf) == 0);		if (exists)			return true; // found it!	} while (base_to_uppercase(name, ++uppercasecount));	// file not found	return false;}