/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_isalnum.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: bchanot +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2015/12/29 16:18:26 by bchanot #+# #+# */ /* Updated: 2017/04/15 00:33:31 by bchanot ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" int ft_isalnum(int c) { if ((c >= 48 && c <= 57) || (c >= 65 && c <= 90) || (c >= 97 && c <= 122)) return (true); return (false); }