added finished algorithm
merged algorithm from other personnal repo
This commit is contained in:
18
libft/srcs/ft_isalpha.c
Normal file
18
libft/srcs/ft_isalpha.c
Normal file
@@ -0,0 +1,18 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_isalpha.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: tmaze <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2018/04/04 10:56:47 by tmaze #+# #+# */
|
||||
/* Updated: 2018/04/09 10:21:34 by tmaze ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "libft.h"
|
||||
|
||||
int ft_isalpha(int c)
|
||||
{
|
||||
return (ft_islower(c) || ft_isupper(c));
|
||||
}
|
Reference in New Issue
Block a user