-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_lenghtstrwchar.c
23 lines (20 loc) · 1.03 KB
/
ft_lenghtstrwchar.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_lenghtstrwchar.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: sbeline <sbeline@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/05/13 16:29:29 by sbeline #+# #+# */
/* Updated: 2016/05/13 16:29:30 by sbeline ### ########.fr */
/* */
/* ************************************************************************** */
#include "Includes/libft.h"
int ft_lenghstrwchar(const wchar_t *wc)
{
int count;
count = 0;
while (*wc)
count += ft_lenghtwchar(*wc++);
return (count);
}