libft/ft_strwlen.c
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strwlen.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: estephan <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/11/30 13:35:38 by estephan #+# #+# */
/* Updated: 2016/11/30 13:35:55 by estephan ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_strwlen(int *str)
{
int i;
int len;
i = -1;
len = 0;
while (str[++i])
len += ft_charwlen(str[i]);
return (len);
}