fractol/libft/src/ft_strupp.c
2023-03-01 04:36:42 +01:00

30 lines
1.0 KiB
C

/* ************************************************************************** */
/* */
/* :::::::: */
/* ft_strupp.c :+: :+: :+: */
/* +:+ */
/* By: djonker <marvin@codam.nl> +#+ */
/* +#+ */
/* Created: 2021/01/31 05:49:38 by djonker #+# #+# */
/* Updated: 2023/02/07 00:41:13 by houtworm ### ########.fr */
/* */
/* ************************************************************************** */
#include "../libft.h"
char *ft_strupp(char *s)
{
char r[5000];
int i;
i = 0;
while (s[i])
{
r[i] = ft_toupper(s[i]);
i++;
}
r[i] = '\0';
s = r;
return (s);
}