ft_strace/libft/ft_isalnum.c

20 lines
1,001 B
C
Executable file

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isalnum.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: thrieg <thrieg@student.42mulhouse.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/14 12:44:53 by thrieg #+# #+# */
/* Updated: 2025/02/16 19:03:40 by thrieg ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isalnum(int c)
{
if (ft_isalpha(c) | ft_isdigit(c))
return (1);
return (0);
}