diff --git a/ft_strlen.c b/ft_strlen.c index 56496ac..abd5d2a 100644 --- a/ft_strlen.c +++ b/ft_strlen.c @@ -1,6 +1,6 @@ #include "libft.h" -size_t strlen(const char *s) +size_t ft_strlen(const char *s) { size_t i; diff --git a/libft.h b/libft.h index 660a88b..2509f15 100644 --- a/libft.h +++ b/libft.h @@ -4,47 +4,47 @@ # include /* - The ft_isalpha() function tests for - any character for which isupper(3) or - islower(3) is true. + The ft_isalpha() function tests for + any character for which isupper(3) or + islower(3) is true. */ int ft_isalpha(int c); /* - The ft_isdigit() function tests - for a decimal digit character. - Regardless of locale, this - includes the following characters - only: '0' '1' '2' '3' '4' '5' '6' - '7' '8' '9' + The ft_isdigit() function tests + for a decimal digit character. + Regardless of locale, this + includes the following characters + only: '0' '1' '2' '3' '4' '5' '6' + '7' '8' '9' */ int ft_isdigit(int c); /* - The ft_isalnum() function tests - for any character for which - isalpha(3) or isdigit(3) is true. + The ft_isalnum() function tests + for any character for which + isalpha(3) or isdigit(3) is true. */ int ft_isalnum(int c); /* - The ft_isascii() function tests - for an ASCII character, which is - any character between 0 and octal - 0177 inclusive. + The ft_isascii() function tests + for an ASCII character, which is + any character between 0 and octal + 0177 inclusive. */ int ft_isascii(int c); /* - The ft_isprint() function tests for - any printing character, including - space (‘ ’). + The ft_isprint() function tests for + any printing character, including + space (‘ ’). */ int ft_isprint(int c); /* - The strlen() function computes the - length of the string s. + The ft_strlen() function computes + the length of the string s. */ -size_t strlen(const char *s); +size_t ft_strlen(const char *s); #endif