Files
GridEscape/libft/ft_isalnum.c
T
HexPloR 4dfc0cd7ec oui
2024-06-24 00:02:52 +02:00

21 lines
1018 B
C
Executable File

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isalnum.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: yantoine <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/07 10:17:01 by yantoine #+# #+# */
/* Updated: 2023/11/08 08:05:51 by hexplor ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isalnum(int c)
{
if (ft_isalpha(c) == 1 || ft_isdigit(c) == 1)
return (1);
else
return (0);
}