| 123456789101112131415161718192021222324 |
- /* ************************************************************************** */
- /* */
- /* ::: :::::::: */
- /* ft_strlen.c :+: :+: :+: */
- /* +:+ +:+ +:+ */
- /* By: bchanot <bchanot@students.42.fr> +#+ +:+ +#+ */
- /* +#+#+#+#+#+ +#+ */
- /* Created: 2015/11/23 14:47:27 by bchanot #+# #+# */
- /* Updated: 2018/10/29 11:58:05 by bchanot ### ########.fr */
- /* */
- /* ************************************************************************** */
- #include "libft.h"
- size_t ft_strlen(const char *const s)
- {
- size_t cpt;
- cpt = 0;
- if (s)
- while (s[cpt])
- cpt++;
- return (cpt);
- }
|