函数结构
小于 1 分钟
函数结构
int strcmp_m(const char* p1, const char* p2)
{
const unsigned char* s1 = (const unsigned char*)p1;
const unsigned char* s2 = (const unsigned char*)p2;
unsigned char c1, c2;
do
{
c1 = (unsigned char)*s1++;
c2 = (unsigned char)*s2++;
if (c1 == '\0')
return c1 - c2;
} while (c1 == c2);
return c1 - c2;
}
函数参数
函数返回
局部变量
函数类型
__cdecl
__fastcall
__thiscall