mirror of
https://github.com/guezoloic/libft.git
synced 2026-01-25 09:34:16 +00:00
feat: add ft_tolower function
also change header comments
This commit is contained in:
8
ft_tolower.c
Normal file
8
ft_tolower.c
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "libft.h"
|
||||
|
||||
int ft_tolower(int c)
|
||||
{
|
||||
if ('A' <= c && c <= 'Z')
|
||||
c += 32;
|
||||
return (c);
|
||||
}
|
||||
Reference in New Issue
Block a user