uTank-木头
每一个你不满意的现在,都有一个你没有努力的曾经。
摘要: 1 /** 2 * strlen - Find the length of a string 3 * @s: The string to be sized 4 */ 5 size_t strlen(const char *s) 6 { 7 const char *sc; 8 9 for (sc = s; *sc != '\0'; ++sc) 10 /* nothing */; 11 return sc - s; 12 } 13 14 /** 15 * strnlen - Find the length of a lengt... 阅读全文
posted @ 2014-03-18 08:37 uTank 阅读(986) 评论(0) 推荐(0) 编辑