-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_isalnum.c
executable file
·18 lines (16 loc) · 979 Bytes
/
ft_isalnum.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isalnum.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jchoy-me <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/07/11 14:24:08 by jchoy-me #+# #+# */
/* Updated: 2023/07/11 15:07:47 by jchoy-me ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isalnum(int c)
{
return (ft_isalpha(c) + ft_isdigit(c));
}