-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_strlowcase.c
executable file
·23 lines (21 loc) · 1023 Bytes
/
ft_strlowcase.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_strlowcase.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rtiutiun <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/04/10 20:11:48 by rtiutiun #+# #+# */
/* Updated: 2017/04/10 20:11:50 by rtiutiun ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
char *ft_strlowcase(char *str)
{
while (*str)
{
*str = ft_tolower((int)*str);
str++;
}
return (str);
}