-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_strupcase.c
26 lines (23 loc) · 1.03 KB
/
ft_strupcase.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strupcase.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tmaraval <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/11/16 08:33:48 by tmaraval #+# #+# */
/* Updated: 2017/11/20 08:13:09 by tmaraval ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
char *ft_strupcase(char *string)
{
int i;
i = 0;
while (string[i])
{
string[i] = ft_toupper(string[i]);
i++;
}
return (string);
}