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:
2018-11-07 18:32:42 +00:00
parent ca41eaa1b0
commit 78003bd7a5
7 changed files with 151 additions and 0 deletions

View File

@@ -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)
{