-
Notifications
You must be signed in to change notification settings - Fork 10
/
ft_isalnum.c
22 lines (19 loc) · 1.02 KB
/
ft_isalnum.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isalnum.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jaeskim <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/09/26 14:10:25 by jaeskim #+# #+# */
/* Updated: 2020/09/27 08:21:32 by jaeskim ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
/*
** ft_isalnum - checks for an alphanumeric character
*/
int ft_isalnum(int c)
{
return (ft_isdigit(c) || ft_isalpha(c));
}