25 lines
		
	
	
		
			992 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			992 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* ************************************************************************** */
 | 
						|
/*                                                                            */
 | 
						|
/*                                                        :::      ::::::::   */
 | 
						|
/*   ft_strlen.c                                        :+:      :+:    :+:   */
 | 
						|
/*                                                    +:+ +:+         +:+     */
 | 
						|
/*   By: cchauvet <cchauvet@student.42angoulem      +#+  +:+       +#+        */
 | 
						|
/*                                                +#+#+#+#+#+   +#+           */
 | 
						|
/*   Created: 2022/07/14 19:06:11 by cchauvet          #+#    #+#             */
 | 
						|
/*   Updated: 2022/07/18 10:34:56 by cchauvet         ###   ########.fr       */
 | 
						|
/*                                                                            */
 | 
						|
/* ************************************************************************** */
 | 
						|
 | 
						|
int	ft_strlen(char *str)
 | 
						|
{
 | 
						|
	int	a;
 | 
						|
 | 
						|
	a = 0;
 | 
						|
	while (*str != 0)
 | 
						|
	{
 | 
						|
		a++;
 | 
						|
		str++;
 | 
						|
	}
 | 
						|
	return (a);
 | 
						|
}
 |