?? memcmp.c
字號:
/* * linux/lib/string.c * * Copyright (C) 1991, 1992 Linus Torvalds */#include <sys/types.h>#include <string.h>#include <ctype.h>#ifndef __HAVE_ARCH_MEMCMPint memcmp(const void * cs,const void * ct,size_t count){ const unsigned char *su1, *su2; signed char res = 0; for( su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--) if ((res = *su1 - *su2) != 0) break; return res;}#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -