123456789101112131415161718 |
- /* ************************************************************************** */
- /* */
- /* ::: :::::::: */
- /* ft_isalpha.c :+: :+: :+: */
- /* +:+ +:+ +:+ */
- /* By: mazimi <mazimi@student.42.fr> +#+ +:+ +#+ */
- /* +#+#+#+#+#+ +#+ */
- /* Created: 2014/11/05 16:57:29 by mazimi #+# #+# */
- /* Updated: 2015/04/17 14:07:35 by mazimi ### ########.fr */
- /* */
- /* ************************************************************************** */
- #include "libft.h"
- int ft_isalpha(int c)
- {
- return ((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') ? 1 : 0);
- }
|