예제 #1
0
파일: unicode.cpp 프로젝트: alown/iViewer
wchar* strlowerw(wchar *Str)
{
  for (wchar *ChPtr=Str;*ChPtr;ChPtr++)
    if (*ChPtr<128)
      *ChPtr=loctolower(*ChPtr);
  return(Str);
}
예제 #2
0
파일: strfn.cpp 프로젝트: alown/iViewer
char* strlower(char *Str)
{
/*#ifdef _WIN_32
  CharLower((LPTSTR)Str);
#else*/
  for (char *ChPtr=Str;*ChPtr;ChPtr++)
    *ChPtr=(char)loctolower(*ChPtr);
//#endif
  return(Str);
}
예제 #3
0
char* strlower(char *Str)
{
#ifdef _WIN_ALL
  CharLowerA((LPSTR)Str);
#else
  for (char *ChPtr=Str;*ChPtr;ChPtr++)
    *ChPtr=(char)loctolower(*ChPtr);
#endif
  return(Str);
}