1 #include <string.h> 2 3 size_t strlen(const char * s)4 strlen(const char *s) 5 { 6 7 return strchr(s, 0) - s; 8 } 9