libft_old/extended_libft/ft_isalnum.c
Willem Haffmans 326f52308e all
2024-07-26 22:32:04 +02:00

19 lines
980 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isalnum.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: whaffman <whaffman@student.codam.nl> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/05 18:42:03 by whaffman #+# #+# */
/* Updated: 2024/07/09 16:33:06 by whaffman ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isalnum(int c)
{
return (ft_isdigit(c) || ft_isalpha(c));
}