maxishell
Implementation of a shell for Linux-like systems
Loading...
Searching...
No Matches
ft_strlen.c
Go to the documentation of this file.
1
/* ************************************************************************** */
2
/* */
3
/* ::: :::::::: */
4
/* ft_strlen.c :+: :+: :+: */
5
/* +:+ +:+ +:+ */
6
/* By: rmikhayl <rmikhayl@student.42london.c +#+ +:+ +#+ */
7
/* +#+#+#+#+#+ +#+ */
8
/* Created: 2023/12/17 17:25:27 by rmikhayl #+# #+# */
9
/* Updated: 2023/12/17 17:25:27 by rmikhayl ### ########.fr */
10
/* */
11
/* ************************************************************************** */
12
13
#include <stddef.h>
14
15
size_t
ft_strlen
(
const
char
*s)
16
{
17
size_t
i;
18
19
i = 0;
20
while
(s[i])
21
i++;
22
return
(i);
23
}
ft_strlen
size_t ft_strlen(const char *s)
Definition
ft_strlen.c:15
lib
libft
src
ft_strlen.c
Generated by
1.9.8