mirror of
https://github.com/Ladebeze66/libft.git
synced 2025-12-13 04:36:55 +01:00
21 lines
988 B
C
Executable File
21 lines
988 B
C
Executable File
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_toupper.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: fgras-ca <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/02/08 16:02:00 by fgras-ca #+# #+# */
|
|
/* Updated: 2023/02/14 13:36:40 by fgras-ca ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "libft.h"
|
|
|
|
int ft_toupper(int c)
|
|
{
|
|
if (c >= 97 && c <= 122)
|
|
c -= 32;
|
|
return (c);
|
|
}
|