小编hor*_*ity的帖子

为什么要用"strlen30()"?

static int strlen30(const char *z){
  const char *z2 = z;
  while( *z2 ){ z2++; }
  return 0x3fffffff & (int)(z2 - z);
}
Run Code Online (Sandbox Code Playgroud)

我阅读并想知道sqlite的源代码.

为什么用"strlen30()"代替strlen()(string.h)?

谢谢.

c sqlite strlen

7
推荐指数
1
解决办法
295
查看次数

标签 统计

c ×1

sqlite ×1

strlen ×1