C--: add to ISO, upload linux version by pavelyakov
git-svn-id: svn://kolibrios.org@7543 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -221,6 +221,46 @@ void CheckPageCode(unsigned int ofs);
|
||||
int MakePE();
|
||||
int MakeObj();
|
||||
void CheckUndefClassProc();
|
||||
|
||||
/*
|
||||
|
||||
PAVEL YAKOV
|
||||
|
||||
char* strupr(char* s)
|
||||
{
|
||||
char* p = s;
|
||||
while (*p = toupper(*p)) p++;
|
||||
return s;
|
||||
}
|
||||
char* strlwr(char* s)
|
||||
{
|
||||
char* p = s;
|
||||
while (*p = tolower(*p)) p++;
|
||||
return s;
|
||||
}
|
||||
int strnicmp(const char* s1, const char* s2, int len)
|
||||
{
|
||||
unsigned char c1,c2;
|
||||
|
||||
if(!len)
|
||||
return 0;
|
||||
|
||||
do{
|
||||
c1 = *s1++;
|
||||
c2 = *s2++;
|
||||
if (!c1||!c2)
|
||||
break;
|
||||
if (c1 == c2)
|
||||
continue;
|
||||
c1 = tolower(c1);
|
||||
c2 = tolower(c2);
|
||||
if (c1!=c2)
|
||||
break;
|
||||
} while (--len);
|
||||
return (int)c1 - (int)c2;
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
void PrintTegList(structteg *tteg)
|
||||
{
|
||||
|
Reference in New Issue
Block a user