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)?
谢谢.
| 归档时间: |
|
| 查看次数: |
295 次 |
| 最近记录: |