void myReadFilename(UINT8* dstname, UINT8* scrame) { UINT8 *longname; longname = vfsLongFileNameGet(scrame); if(strlen(longname)==0) strcpy(dstname, scrame); else strcpy(dstname, longname); myUpper(dstname); }
/** * Converts the given String to upper case (using ASCII locale) and returns * the address of the string. */ char* toUpper(char *s) { for (char *it = s; *it; ++it) myUpper(*it); return s; }
/** * Converts the given String to upper case (using ASCII locale) and returns * the address of the string. */ std::string& toUpper(std::string &s) { for (auto it = s.begin(); it != s.end(); ++it) myUpper(*it); return s; }