-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlibft_functions.c
More file actions
25 lines (22 loc) · 1.01 KB
/
libft_functions.c
File metadata and controls
25 lines (22 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* libft_functions.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: apuyane <apuyane@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/02/18 01:52:05 by apuyane #+# #+# */
/* Updated: 2026/02/18 02:31:34 by apuyane ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
size_t ft_strlen(const char *str)
{
size_t i;
i = 0;
if (!str)
return (0);
while (str[i])
i++;
return (i);
}