Except that strlen will not increment a counter, but rather use pointer arithmetic:
Code:
size_t __cdecl strlen(const char* str) {
  const char *run;
  for(run=str;*run;++run);
  return run - str;
}