minishell
ft_strlen.c File Reference
#include "ft_string.h"
Include dependency graph for ft_strlen.c:

Go to the source code of this file.

Functions

size_t ft_strlen (const char *str)
 

Function Documentation

◆ ft_strlen()

size_t ft_strlen ( const char *  str)

Definition at line 15 of file ft_strlen.c.

16 {
17  size_t len;
18 
19  len = 0;
20  while (*str != '\0')
21  {
22  str++;
23  len++;
24  }
25  return (len);
26 }
Here is the caller graph for this function: