ft_islower

This commit is contained in:
Tanguy MAZE
2018-04-09 10:23:28 +02:00
parent ee01740c22
commit 0041fd45f0
3 changed files with 22 additions and 9 deletions

View File

@@ -6,18 +6,13 @@
/* By: tmaze <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/04/04 10:56:47 by tmaze #+# #+# */
/* Updated: 2018/04/09 10:10:00 by tmaze ### ########.fr */
/* Updated: 2018/04/09 10:21:34 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
static int ft_islower(int c)
{
return (c >= 'a' && c <= 'z');
}
int ft_isalpha(int c)
int ft_isalpha(int c)
{
return (ft_islower(c) || ft_isupper(c));
}