ft_strlen.c 130 B

123456789101112
  1. #include "libft.h"
  2. size_t ft_strlen(const char *str)
  3. {
  4. size_t count;
  5. count = 0;
  6. while (*str++)
  7. count++;
  8. return (count);
  9. }