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