Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

14 lines
241 B

  1. #undef __dietlibc__
  2. #include "str.h"
  3. unsigned long str_len(const char* in) {
  4. register const char* t=in;
  5. for (;;) {
  6. if (!*t) break; ++t;
  7. if (!*t) break; ++t;
  8. if (!*t) break; ++t;
  9. if (!*t) break; ++t;
  10. }
  11. return t-in;
  12. }